projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the incomplete StandaloneProgrammer project to be compatible with the latest...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
XMEGA
/
A3BU_XPLAINED
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h
b/LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h
index
24a007f
..
ad6d907
100644
(file)
--- a/
LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h
+++ b/
LUFA/Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h
@@
-79,39
+79,39
@@
#if !defined(__DOXYGEN__)
\r
static inline void LEDs_Init(void)
\r
{
\r
#if !defined(__DOXYGEN__)
\r
static inline void LEDs_Init(void)
\r
{
\r
- PORTR
.
DIRSET = LEDS_ALL_LEDS;
\r
- PORTR
.
OUTSET = LEDS_ALL_LEDS;
\r
+ PORTR
_
DIRSET = LEDS_ALL_LEDS;
\r
+ PORTR
_
OUTSET = LEDS_ALL_LEDS;
\r
}
\r
\r
static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
\r
{
\r
}
\r
\r
static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
\r
{
\r
- PORTR
.
OUTCLR = LEDMask;
\r
+ PORTR
_
OUTCLR = LEDMask;
\r
}
\r
\r
static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask)
\r
{
\r
}
\r
\r
static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask)
\r
{
\r
- PORTR
.
OUTSET = LEDMask;
\r
+ PORTR
_
OUTSET = LEDMask;
\r
}
\r
\r
static inline void LEDs_SetAllLEDs(const uint8_t LEDMask)
\r
{
\r
}
\r
\r
static inline void LEDs_SetAllLEDs(const uint8_t LEDMask)
\r
{
\r
- PORTR
.
OUT = (PORTR.OUT & ~LEDS_ALL_LEDS) | LEDMask;
\r
+ PORTR
_
OUT = (PORTR.OUT & ~LEDS_ALL_LEDS) | LEDMask;
\r
}
\r
\r
static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, const uint8_t ActiveMask)
\r
{
\r
}
\r
\r
static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, const uint8_t ActiveMask)
\r
{
\r
- PORTR
.
OUT = (PORTR.OUT & ~LEDMask) | ActiveMask;
\r
+ PORTR
_
OUT = (PORTR.OUT & ~LEDMask) | ActiveMask;
\r
}
\r
\r
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
\r
{
\r
}
\r
\r
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
\r
{
\r
- PORTR
.
OUTTGL = LEDMask;
\r
+ PORTR
_
OUTTGL = LEDMask;
\r
}
\r
\r
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
\r
static inline uint8_t LEDs_GetLEDs(void)
\r
{
\r
}
\r
\r
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
\r
static inline uint8_t LEDs_GetLEDs(void)
\r
{
\r
- return (PORTR
.
OUT & LEDS_ALL_LEDS);
\r
+ return (PORTR
_
OUT & LEDS_ALL_LEDS);
\r
}
\r
#endif
\r
\r
}
\r
#endif
\r
\r