From 8e696b222e6442e972d8994e8032c48141e44315 Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 15 Mar 2012 18:40:05 +0000 Subject: [PATCH] Warning solved --- src/frsky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frsky.cpp b/src/frsky.cpp index b7e75a9ed..39c8a008f 100644 --- a/src/frsky.cpp +++ b/src/frsky.cpp @@ -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) { 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); - 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; uint8_t thresholdX = 0; if (g_model.frsky.bars[i].source <= 2)