diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-24 01:44:01 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-24 01:44:01 +0000 |
commit | 200821fe827230570e253c1679f00bcdb6c5bd94 (patch) | |
tree | 0aed41075af0b12258d1dee1c3946e61e9e4d0e0 /Projects/Benito | |
parent | 3991c94b3858bbb02ca9ea6497cf60c84635b99a (diff) | |
download | lufa-200821fe827230570e253c1679f00bcdb6c5bd94.tar.gz lufa-200821fe827230570e253c1679f00bcdb6c5bd94.tar.bz2 lufa-200821fe827230570e253c1679f00bcdb6c5bd94.zip |
Added new LEDs_ToggleLEDs() function to the Board LEDs driver.
Diffstat (limited to 'Projects/Benito')
-rw-r--r-- | Projects/Benito/Benito.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c index 1afb74a72..2f0317daa 100644 --- a/Projects/Benito/Benito.c +++ b/Projects/Benito/Benito.c @@ -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;
}
|