Added LEDs_ToggleLEDs() function to several board LED drivers which were missing it (thanks to Andrei Krainev).

Simplify some of the LED driver functions to produce more compact code.
This commit is contained in:
Dean Camera committed 2010-09-09 09:57:03 +00:00
1 parent 7aaf9b2036
commit 66f14d44a3
12 files changed
+25 -12

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
PORTD = (PORTD ^ (LEDMask & LEDS_ALL_LEDS));
PORTD ^= LEDMask;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;