aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-07-24 01:44:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-07-24 01:44:01 +0000
commit200821fe827230570e253c1679f00bcdb6c5bd94 (patch)
tree0aed41075af0b12258d1dee1c3946e61e9e4d0e0 /Projects/Benito
parent3991c94b3858bbb02ca9ea6497cf60c84635b99a (diff)
downloadlufa-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.c2
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;
}