Warning solved
This commit is contained in:
+1
-1
@@ -883,7 +883,7 @@ void menuProcFrsky(uint8_t event)
|
|||||||
if (g_model.frsky.bars[i].source && (51-g_model.frsky.bars[i].barMax) > g_model.frsky.bars[i].barMin) {
|
if (g_model.frsky.bars[i].source && (51-g_model.frsky.bars[i].barMax) > g_model.frsky.bars[i].barMin) {
|
||||||
lcd_putsiAtt(0, bars_height+bars_height+1+i*(bars_height+6), STR_VTELEMBARS, g_model.frsky.bars[i].source, 0);
|
lcd_putsiAtt(0, bars_height+bars_height+1+i*(bars_height+6), STR_VTELEMBARS, g_model.frsky.bars[i].source, 0);
|
||||||
lcd_rect(25, bars_height+6+i*(bars_height+6), 101, bars_height+2);
|
lcd_rect(25, bars_height+6+i*(bars_height+6), 101, bars_height+2);
|
||||||
int16_t value = getValue(CSW_CHOUT_BASE+NUM_CHNOUT+MAX_TIMERS+g_model.frsky.bars[i].source-1);
|
uint16_t value = getValue(CSW_CHOUT_BASE+NUM_CHNOUT+MAX_TIMERS+g_model.frsky.bars[i].source-1);
|
||||||
uint16_t threshold = 0;
|
uint16_t threshold = 0;
|
||||||
uint8_t thresholdX = 0;
|
uint8_t thresholdX = 0;
|
||||||
if (g_model.frsky.bars[i].source <= 2)
|
if (g_model.frsky.bars[i].source <= 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user