From 15c73e1ecea93dc49680952cdb1209bab413e89f Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 20 Mar 2012 21:34:48 +0000 Subject: [PATCH] Dotted border around voltage on v4.1 --- src/frsky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frsky.cpp b/src/frsky.cpp index d059c12ad..1643578ef 100644 --- a/src/frsky.cpp +++ b/src/frsky.cpp @@ -758,7 +758,7 @@ int16_t convertTelemValue(uint8_t channel, uint8_t value) void putsTelemetryValue(uint8_t x, uint8_t y, int16_t val, uint8_t unit, uint8_t att) { - lcd_outdezAtt(x, (att & DBLSIZE ? y - FH : y), val, att); // TODO we could add this test inside lcd_outdezAtt! + lcd_outdezAtt(x, (att & DBLSIZE ? y - FH : y), val, att & (~NO_UNIT)); // TODO we could add this test inside lcd_outdezAtt! if (~att & NO_UNIT && unit != UNIT_RAW) lcd_putsiAtt(lcd_lastPos+1, y, STR_VTELEMUNIT, unit, 0); }