From 5778f06b1ff63974cabe08516c8fce2046888969 Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 3 Apr 2012 20:30:53 +0000 Subject: [PATCH] 6 bytes saved by Romolo --- src/lcd.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lcd.cpp b/src/lcd.cpp index 3fe7da403..41b8b9890 100644 --- a/src/lcd.cpp +++ b/src/lcd.cpp @@ -295,10 +295,11 @@ void lcd_outdezNAtt(uint8_t x, uint8_t y, int16_t val, uint8_t flags, uint8_t le } } else { - x -= 2; - lcd_plot(x+1, y+6); + x--; + lcd_plot(x, y+6); if ((flags&INVERS) && ((~flags & BLINK) || BLINK_ON_PHASE)) - lcd_vline(x+1, y, 8); + lcd_vline(x, y, 8); + x--; } } if (dblsize && val >= 1000 && val < 10000) x-=2;