Rename the obsoleted LED_DRIVER_FORCE_UPDATE macro to LED_DRIVER_STRESS_TEST.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// Macros:
|
||||
|
||||
#define I2C_WATCHDOG 1
|
||||
#define LED_DRIVER_STRESS_TEST 1
|
||||
// #define LED_DRIVER_STRESS_TEST
|
||||
#define FIXED_BUSPAL_BOOTLOADER 1 // Used to mark the fixed BusPal bootloader. Macro usage can be removed in the future.
|
||||
// #define FORCE_BUSPAL 1
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ status_t LedSlaveDriver_Update(uint8_t ledDriverId) {
|
||||
*ledIndex += chunkSize;
|
||||
if (*ledIndex >= LED_DRIVER_LED_COUNT) {
|
||||
*ledIndex = 0;
|
||||
#ifndef LED_DRIVER_FORCE_UPDATE
|
||||
#ifndef LED_DRIVER_STRESS_TEST
|
||||
memcpy(currentLedDriverState->targetLedValues, ledValues, LED_DRIVER_LED_COUNT);
|
||||
*ledDriverPhase = LedDriverPhase_UpdateChangedLedValues;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user