projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use immediate variable expansion in the second-deepest level makefile scripts to...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
AVR8
/
OLIMEXT32U4
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
b/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
index
029707e
..
1602af8
100644
(file)
--- a/
LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
+++ b/
LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
@@
-146,9
+146,9
@@
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
- P
ORTB ^
= (LEDMask & LEDS_PORTB_LEDS);
- P
ORTD ^
= (LEDMask & LEDS_PORTD_LEDS);
- P
ORTE ^
= (LEDMask & LEDS_PORTE_LEDS);
+ P
INB
= (LEDMask & LEDS_PORTB_LEDS);
+ P
IND
= (LEDMask & LEDS_PORTD_LEDS);
+ P
INE
= (LEDMask & LEDS_PORTE_LEDS);
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;