diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-05-06 12:19:03 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-05-06 12:19:03 +0000 |
| commit | 95e3c7d66dbbb4f606d2ed31eed5568324428f2b (patch) | |
| tree | cbe5d94f4be632fe0766b6a089b062977fb4257f /LUFA/Drivers/Board/AVR8/TEENSY | |
| parent | bf6040c858cb5df362b99717c346166c6dc1f431 (diff) | |
Changed board LED driver implementations of LEDs_ToggleLEDs() for the AVR8 architecture to use the fast PIN register toggle alternative function for speed.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2186 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/TEENSY')
| -rw-r--r-- | LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h b/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h index f3a577a7..7149923e 100644 --- a/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h @@ -151,7 +151,7 @@ static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) { - PORTD ^= LEDMask; + PIND = LEDMask; } static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; |
