diff --git a/src/lcd.cpp b/src/lcd.cpp index 1da398dd0..10d3a1d0c 100644 --- a/src/lcd.cpp +++ b/src/lcd.cpp @@ -30,7 +30,7 @@ * */ -#include "lcd.h" +#include "open9x.h" const pm_uchar font[] PROGMEM = { #include "font.lbm" @@ -380,7 +380,7 @@ void lcd_vlineStip(uint8_t x, int8_t y, int8_t h, uint8_t pat) p += DISPLAY_W; h -= 8; } - h = (h+8) % 8; + h = (h+8) % 8; // TODO optim if (h) { p -= DISPLAY_W; assert(p >= displayBuf && p < DISPLAY_END); diff --git a/src/lcd.h b/src/lcd.h index b44fa6eb3..f32933aaa 100644 --- a/src/lcd.h +++ b/src/lcd.h @@ -33,8 +33,6 @@ #ifndef lcd_h #define lcd_h -#include "open9x.h" - #define DISPLAY_W 128 #define DISPLAY_H 64 #define FW 6