diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-06 12:19:03 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-06 12:19:03 +0000 |
commit | 9207e8b2fde713e39cd42a417decf5421d856b95 (patch) | |
tree | cbe5d94f4be632fe0766b6a089b062977fb4257f /LUFA/Drivers/Board/AVR8/USBTINYMKII | |
parent | 395e4287a1eacb617360c932beaf8aa0288ce8a6 (diff) | |
download | lufa-9207e8b2fde713e39cd42a417decf5421d856b95.tar.gz lufa-9207e8b2fde713e39cd42a417decf5421d856b95.tar.bz2 lufa-9207e8b2fde713e39cd42a417decf5421d856b95.zip |
Changed board LED driver implementations of LEDs_ToggleLEDs() for the AVR8 architecture to use the fast PIN register toggle alternative function for speed.
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/USBTINYMKII')
-rw-r--r-- | LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h b/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h index 9322ab90c..96acd6212 100644 --- a/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/USBTINYMKII/LEDs.h @@ -122,7 +122,7 @@ static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) { - PORTB ^= LEDMask; + PINB = LEDMask; } static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; |