Implement TestAction_DisableLedDriverPwm
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "current_keymap.h"
|
||||
#include "test_states.h"
|
||||
#include "peripherals/test_led.h"
|
||||
#include "bridge_slaves/bridge_slave_led_driver.h"
|
||||
|
||||
static uint8_t activeLayer = LAYER_ID_BASE;
|
||||
static uint8_t mouseWheelDivisorCounter = 0;
|
||||
@@ -90,6 +91,9 @@ void processTestAction(key_action_t testAction) {
|
||||
case TestAction_DisableKeyMatrixScan:
|
||||
TestStates.disableKeyMatrixScan = true;
|
||||
break;
|
||||
case TestAction_DisableLedDriverPwm:
|
||||
SetLeds(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user