Fixed simu build

This commit is contained in:
Damjan Adamic
2014-12-04 22:17:06 +01:00
parent 271dae71f7
commit 5566439e76
4 changed files with 7 additions and 3 deletions
+2
View File
@@ -168,9 +168,11 @@ extern display_t * displayBuf;
#else
extern display_t displayBuf[DISPLAY_BUF_SIZE];
#endif
extern coord_t lcdLastPos;
extern coord_t lcdNextPos;
#define DISPLAY_BUFER_SIZE (sizeof(display_t)*DISPLAY_BUF_SIZE)
#define DISPLAY_END (displayBuf + DISPLAY_BUF_SIZE)
#define ASSERT_IN_DISPLAY(p) assert((p) >= displayBuf && (p) < DISPLAY_END)