Enhance USB Interrupt responsibility
[pub/lufa.git] / LUFA / Drivers / Board / AVR8 / PROMICRO / LEDs.h
index 06eac90..fba6465 100644 (file)
                                PORTD = ((PORTD & ~(LEDMask & LEDS_PORTD_LEDS)) | (ActiveMask & LEDS_PORTD_LEDS));
                        }
 
-#if 0
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
                        {
                                PORTB ^= (LEDMask & LEDS_PORTB_LEDS);
                                PORTD ^= (LEDMask & LEDS_PORTD_LEDS);
                        }
-#else
-                       static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
-                       {
-                               PORTB &= ~(LEDMask & LEDS_PORTB_LEDS);
-                               Delay_MS(5);
-                               PORTB |= (LEDMask & LEDS_PORTB_LEDS);
-                       }
-#endif
 
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
                        static inline uint8_t LEDs_GetLEDs(void)