Merge pull request #5793 from etracer65/max7456_double_increment
Fix incorrect double increment in MAX7456 screen drawing
This commit is contained in:
commit
cb19bb16d4
|
@ -629,7 +629,6 @@ void max7456DrawScreen(void)
|
|||
spiBuff[buff_len++] = MAX7456ADD_DMDI;
|
||||
spiBuff[buff_len++] = screenBuffer[pos];
|
||||
shadowBuffer[pos] = screenBuffer[pos];
|
||||
k++;
|
||||
}
|
||||
|
||||
if (++pos >= maxScreenSize) {
|
||||
|
|
Loading…
Reference in New Issue