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:
parent
33a5715e91
commit
85c2716f2d
4 changed files with 12 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue