This commit is contained in:
Stefan Rupp 2015-01-09 03:10:26 +01:00
commit 74c1208c90

View File

@ -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 {