One TODO removed with a ten bytes flash saving

This commit is contained in:
bsongis
2012-05-08 13:29:43 +00:00
parent 3fc27a627f
commit 8f06ef1645
+1 -1
View File
@@ -393,7 +393,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; // TODO optim
if (h < 0) h += 8;
if (h) {
p -= DISPLAY_W;
assert(p >= displayBuf && p < DISPLAY_END);