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

@ -107,7 +107,7 @@ int main(void)
/* Check if the LEDs should be ping-ponging (during enumeration) */
if (PingPongMSRemaining && !(--PingPongMSRemaining))
{
LEDs_ChangeLEDs(LEDMASK_BUSY, (~LEDs_GetLEDs() & LEDMASK_BUSY));
LEDs_ToggleLEDs(LEDMASK_BUSY);
PingPongMSRemaining = PING_PONG_LED_PULSE_MS;
}