[Taranis] Failsafe setting now blinks
This commit is contained in:
+9
-4
@@ -4225,10 +4225,15 @@ void menuModelFailsafe(uint8_t event)
|
|||||||
uint8_t wbar = (longNames ? 48 : 58);
|
uint8_t wbar = (longNames ? 48 : 58);
|
||||||
|
|
||||||
// Value
|
// Value
|
||||||
if (m_posVert == ch)
|
LcdFlags flags = PREC1 | TINSIZE;
|
||||||
lcd_outdezNAtt(x+LCD_W/2-3-wbar-ofs, y+1, calcRESXto1000(val), PREC1 | TINSIZE | INVERS);
|
|
||||||
else
|
if (m_posVert == ch) {
|
||||||
lcd_outdezNAtt(x+LCD_W/2-3-wbar-ofs, y+1, calcRESXto1000(val), PREC1 | TINSIZE);
|
flags |= INVERS;
|
||||||
|
if (s_editMode)
|
||||||
|
flags |= BLINK;
|
||||||
|
}
|
||||||
|
|
||||||
|
lcd_outdezNAtt(x+LCD_W/2-3-wbar-ofs, y+1, calcRESXto1000(val), flags);
|
||||||
|
|
||||||
// Gauge
|
// Gauge
|
||||||
lcd_rect(x+LCD_W/2-3-wbar-ofs, y, wbar+1, 6);
|
lcd_rect(x+LCD_W/2-3-wbar-ofs, y, wbar+1, 6);
|
||||||
|
|||||||
Reference in New Issue
Block a user