Added new LEDs_ToggleLEDs() function to the Board LEDs driver.

This commit is contained in:
Dean Camera 2009-07-24 01:44:01 +00:00
parent 3991c94b38
commit 200821fe82
12 changed files with 74 additions and 42 deletions

View file

@ -173,7 +173,7 @@ void Send_Command(uint8_t* Command)
if ((CmdState == CMD_STOP && Command != CMD_STOP) ||
(CmdState != CMD_STOP && Command == CMD_STOP))
{
LEDs_ChangeLEDs(LEDS_LED4, ~LEDs_GetLEDs() & LEDS_LED4);
LEDs_ToggleLEDs(LEDS_LED4);
Send_Command_Report(CMD_INITA, 8);
Send_Command_Report(CMD_INITB, 8);