fix off by one. should now work again
This commit is contained in:
parent
60d4bee9a6
commit
06af784482
@ -221,7 +221,7 @@ void led1642gw_flush(void)
|
||||
// to the CLOBAL data latch.
|
||||
// once more, we do the trick with write_no_command, to
|
||||
// shift data through all the ICs
|
||||
if (channel <= NUM_LED1642GW_CHANNELS-1) {
|
||||
if (channel < NUM_LED1642GW_CHANNELS-1) {
|
||||
write_data_latch(ledbuffer[channel+(NUM_LED1642GW_CHANNELS*ic)]);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user