X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a318f32b310eac95a4a208a0f25fb1c39afa22f5..4b1f6cac75a86874d2a15e1893cfb258b2397fb5:/LUFA/Drivers/Board/LEDs.h diff --git a/LUFA/Drivers/Board/LEDs.h b/LUFA/Drivers/Board/LEDs.h index 173ed551b..628f2587b 100644 --- a/LUFA/Drivers/Board/LEDs.h +++ b/LUFA/Drivers/Board/LEDs.h @@ -79,17 +79,17 @@ * * // Turn on each of the four LEDs in turn * LEDs_SetAllLEDs(LEDS_LED1); - * _delay_ms(500); + * Delay_MS(500); * LEDs_SetAllLEDs(LEDS_LED1); - * _delay_ms(500); + * Delay_MS(500); * LEDs_SetAllLEDs(LEDS_LED1); - * _delay_ms(500); + * Delay_MS(500); * LEDs_SetAllLEDs(LEDS_LED1); - * _delay_ms(500); + * Delay_MS(500); * * // Turn on all LEDs * LEDs_SetAllLEDs(LEDS_ALL_LEDS); - * _delay_ms(1000); + * Delay_MS(1000); * * // Turn on LED 1, turn off LED 2, leaving LEDs 3 and 4 in their current state * LEDs_ChangeLEDs((LEDS_LED1 | LEDS_LED2), LEDS_LED1); @@ -102,10 +102,7 @@ #define __LEDS_H__ /* Macros: */ - #if !defined(__DOXYGEN__) #define __INCLUDE_FROM_LEDS_H - #define INCLUDE_FROM_LEDS_H - #endif /* Includes: */ #include "../../Common/Common.h"