Implement much more efficient LED driver updater algorithm that only talks to the LED driver ICs when necessary. Add LED_DRIVER_STRESS_TEST macro.

This commit is contained in:
László Monda
2017-07-31 17:30:33 +02:00
parent a30c078f02
commit 546ca5d0b2
4 changed files with 59 additions and 9 deletions

View File

@@ -60,6 +60,8 @@ void InitPeripherals(void)
InitI2c();
InitTestLed();
LedPwm_Init();
#ifndef LED_DRIVER_STRESS_TEST
InitI2cWatchdog();
#endif
EEPROM_Init();
}