One TODO removed with a ten bytes flash saving
This commit is contained in:
+1
-1
@@ -393,7 +393,7 @@ void lcd_vlineStip(uint8_t x, int8_t y, int8_t h, uint8_t pat)
|
|||||||
p += DISPLAY_W;
|
p += DISPLAY_W;
|
||||||
h -= 8;
|
h -= 8;
|
||||||
}
|
}
|
||||||
h = (h+8) % 8; // TODO optim
|
if (h < 0) h += 8;
|
||||||
if (h) {
|
if (h) {
|
||||||
p -= DISPLAY_W;
|
p -= DISPLAY_W;
|
||||||
assert(p >= displayBuf && p < DISPLAY_END);
|
assert(p >= displayBuf && p < DISPLAY_END);
|
||||||
|
|||||||
Reference in New Issue
Block a user