From 9207e8b2fde713e39cd42a417decf5421d856b95 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 6 May 2012 12:19:03 +0000 Subject: Changed board LED driver implementations of LEDs_ToggleLEDs() for the AVR8 architecture to use the fast PIN register toggle alternative function for speed. --- LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/Drivers/Board/AVR8/ADAFRUITU4') diff --git a/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h b/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h index f13b75624..661749beb 100644 --- a/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h @@ -114,7 +114,7 @@ static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) { - PORTE ^= LEDMask; + PINE = LEDMask; } static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; -- cgit v1.2.3