Fixed inverted Minimus board LEDs.
This commit is contained in:
parent
6026b9128b
commit
cb9ef559a0
6 changed files with 12 additions and 11 deletions
|
@ -140,8 +140,8 @@
|
|||
|
||||
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
|
||||
{
|
||||
PORTD = (PORTD ^ (LEDMask & LEDS_PORTD_LEDS));
|
||||
PORTE = (PORTE ^ ((LEDMask & LEDS_PORTE_LEDS) << LEDS_PORTE_MASK_SHIFT));
|
||||
PORTD ^= (LEDMask & LEDS_PORTD_LEDS);
|
||||
PORTE ^= ((LEDMask & LEDS_PORTE_LEDS) << LEDS_PORTE_MASK_SHIFT);
|
||||
}
|
||||
|
||||
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue