Convert macros for controlling test LEDs to functions

This commit is contained in:
Eric Tang
2018-06-24 20:34:23 -07:00
parent 0155447c6a
commit c6b180b8f5
8 changed files with 40 additions and 14 deletions

View File

@@ -6,6 +6,6 @@
void UsbCommand_SetTestLed(void)
{
bool isTestLedOn = GetUsbRxBufferUint8(1);
TEST_LED_SET(isTestLedOn);
TestLed_Set(isTestLedOn);
UhkModuleStates[UhkModuleDriverId_LeftKeyboardHalf].sourceVars.isTestLedOn = isTestLedOn;
}