From 5c52b7457477b5953f39baf6b55e5c748b18c0cf Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 25 Feb 2012 17:56:46 +0000 Subject: [PATCH] Circular inclusions removed --- src/lcd.cpp | 4 ++-- src/lcd.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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