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:
parent
395e4287a1
commit
9207e8b2fd
33 changed files with 43 additions and 41 deletions
|
|
@ -139,8 +139,8 @@
|
|||
|
||||
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
|
||||
{
|
||||
PORTD ^= (LEDMask & LEDS_PORTD_LEDS);
|
||||
PORTC ^= (LEDMask & LEDS_PORTC_LEDS);
|
||||
PIND = (LEDMask & LEDS_PORTD_LEDS);
|
||||
PINC = (LEDMask & LEDS_PORTC_LEDS);
|
||||
}
|
||||
|
||||
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue