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

@@ -42,7 +42,7 @@ void SlaveRxHandler(void)
case SlaveCommand_SetTestLed:
TxMessage.length = 0;
bool isLedOn = RxMessage.data[1];
TEST_LED_SET(isLedOn);
TestLed_Set(isLedOn);
break;
case SlaveCommand_SetLedPwmBrightness:
TxMessage.length = 0;