fw: Fix noisy picture?
Had noise artifacts on the OLED display... and for some reason, this commit fixes it. But, I mean, WTF?!
This commit is contained in:
parent
1eaa9c3c38
commit
475c9cdd4a
@ -31,12 +31,12 @@ uint8_t spi_proc()
|
||||
|
||||
if (spi_cs) {
|
||||
if (SPSR & (1 << SPIF)) {
|
||||
SPDR = spdr_next;
|
||||
switch (y) {
|
||||
case Y_MAX:
|
||||
case Y_MAX - 1:
|
||||
spdr_next = 55; // TODO: Vbat
|
||||
break;
|
||||
}
|
||||
SPDR = spdr_next;
|
||||
lcd_set_buffer(x, y, SPDR);
|
||||
if (y == 0) {
|
||||
y = Y_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user