Make Benito ping-pong LED code more explicit, using masks of the TX and RX LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask.

Fix incorrect event name in MassStorageHost.c.
This commit is contained in:
Dean Camera committed 2009-08-07 00:27:11 +00:00
1 parent 33a5715e91
commit 85c2716f2d
4 files changed
+12 -9

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ int main(void)
/* Check if the LEDs should be ping-ponging (during enumeration) */
if (PingPongMSRemaining && !(--PingPongMSRemaining))
{
LEDs_ToggleLEDs(LEDMASK_BUSY);
LEDs_ToggleLEDs(LEDMASK_TX | LEDMASK_RX);
PingPongMSRemaining = PING_PONG_LED_PULSE_MS;
}