Fix errors in some board driver LED_Disable() functions.
[pub/USBasp.git] / LUFA / Drivers / Board / AVR8 / MULTIO / LEDs.h
index 14809df..03506b4 100644 (file)
 
                        static inline void LEDs_Disable(void)
                        {
-                               DDRD  |=  LEDS_PORTD_LEDS;
-                               DDRC  |=  LEDS_PORTC_LEDS;
+                               DDRD  &= ~LEDS_PORTD_LEDS;
+                               DDRC  &= ~LEDS_PORTC_LEDS;
                        
                                PORTD &= ~LEDS_PORTD_LEDS;
                                PORTC &= ~LEDS_PORTC_LEDS;