Implement TestAction_DisableLedDriverPwm

This commit is contained in:
László Monda
2017-04-30 04:40:12 +02:00
parent 7f45f1fc0d
commit b7bdceaac4
2 changed files with 5 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ bool BridgeSlaveLedDriverHandler(uint8_t ledDriverId) {
*ledDriverState = LedDriverState_Initialized;
break;
case LedDriverState_Initialized:
I2cAsyncWrite(I2C_ADDRESS_LED_DRIVER_LEFT, ledsBuffer, BUFFER_SIZE);
I2cAsyncWrite(ledDriverAddress, ledsBuffer, BUFFER_SIZE);
break;
}
return true;