fix(bw): putsChn() should return always channel number (#5892)

This commit is contained in:
3djc
2025-02-12 09:31:19 +10:00
committed by GitHub
parent 119597af05
commit 9e26c1fb22
4 changed files with 12 additions and 2 deletions
+5
View File
@@ -662,6 +662,11 @@ void putsVBat(coord_t x, coord_t y, LcdFlags att)
putsVolts(x, y, g_vbat100mV, att);
}
void putsChn(coord_t x, coord_t y, uint8_t idx, LcdFlags att)
{
drawStringWithIndex(x, y, STR_CH, idx, att);
}
void putsChnLetter(coord_t x, coord_t y, uint8_t idx, LcdFlags att)
{
lcdDrawText(x, y, getAnalogShortLabel(idx), att);