diff options
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h')
-rw-r--r-- | LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h b/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h index 1602af842..d1d19093e 100644 --- a/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h @@ -107,11 +107,11 @@ static inline void LEDs_Disable(void) { - DDRB &= LEDS_PORTB_LEDS; + DDRB &= ~LEDS_PORTB_LEDS; PORTB &= ~LEDS_PORTB_LEDS; - DDRD &= LEDS_PORTD_LEDS; + DDRD &= ~LEDS_PORTD_LEDS; PORTD &= ~LEDS_PORTD_LEDS; - DDRE &= LEDS_PORTE_LEDS; + DDRE &= ~LEDS_PORTE_LEDS; PORTE &= ~LEDS_PORTE_LEDS; } |