Added new LEDs_ToggleLEDs() function to the Board LEDs driver.
This commit is contained in:
1 parent
3991c94b38
commit
200821fe82
12 files changed
+74
-42
No files matched your search
@@ -250,10 +250,7 @@ void ProcessKeyboardReport(uint8_t* KeyboardReport)
|
||||
if (KeyCode)
|
||||
{
|
||||
/* Toggle status LED to indicate keypress */
|
||||
if (LEDs_GetLEDs() & LEDS_LED2)
|
||||
LEDs_TurnOffLEDs(LEDS_LED2);
|
||||
else
|
||||
LEDs_TurnOnLEDs(LEDS_LED2);
|
||||
LEDs_ToggleLEDs(LEDS_LED2);
|
||||
|
||||
char PressedKey = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user