Merge branch 'master' into led-display

This commit is contained in:
Eric Tang
2017-07-14 09:27:32 -07:00
3 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ void LedSlaveDriver_Update(uint8_t ledDriverId) {
I2cAsyncWrite(ledDriverAddress, updatePwmRegistersBuffer, PWM_REGISTER_BUFFER_LENGTH);
*ledIndex += PMW_REGISTER_UPDATE_CHUNK_SIZE;
if (*ledIndex >= LED_DRIVER_LED_COUNT) {
ledIndex = 0;
*ledIndex = 0;
}
break;
}