Changed board LED driver implementations of LEDs_ToggleLEDs() for the AVR8 architecture to use the fast PIN register toggle alternative function for speed.

This commit is contained in:
Dean Camera committed 2012-05-06 12:19:03 +00:00
1 parent 395e4287a1
commit 9207e8b2fd
33 files changed
+43 -41

No files matched your search

+2 -2
View File
@@ -167,9 +167,9 @@
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
#if (BOARD == BOARD_USB2AX)
PORTC ^= LEDMask;
PINC = LEDMask;
#else
PORTD ^= LEDMask;
PIND = LEDMask;
#endif
}