Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
cb9ef559
Commit
cb9ef559
authored
Dec 28, 2010
by
Dean Camera
Browse files
Fixed inverted Minimus board LEDs.
parent
6026b912
Changes
6
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/Board/ADAFRUITU4/LEDs.h
View file @
cb9ef559
...
...
@@ -108,7 +108,7 @@
static
inline
void
LEDs_ToggleLEDs
(
const
uint8_t
LEDMask
)
{
PORTE
=
(
PORTE
^
(
LEDMask
&
LEDS_ALL_LEDS
))
;
PORTE
&
=
LEDMask
;
}
static
inline
uint8_t
LEDs_GetLEDs
(
void
)
ATTR_WARN_UNUSED_RESULT
;
...
...
LUFA/Drivers/Board/CULV3/LEDs.h
View file @
cb9ef559
...
...
@@ -108,7 +108,7 @@
static
inline
void
LEDs_ToggleLEDs
(
const
uint8_t
LEDMask
)
{
PORTE
=
(
PORTE
^
(
LEDMask
&
LEDS_ALL_LEDS
))
;
PORTE
^
=
LEDMask
;
}
static
inline
uint8_t
LEDs_GetLEDs
(
void
)
ATTR_WARN_UNUSED_RESULT
;
...
...
LUFA/Drivers/Board/MAXIMUS/LEDs.h
View file @
cb9ef559
...
...
@@ -111,7 +111,7 @@
static
inline
void
LEDs_ToggleLEDs
(
const
uint8_t
LEDMask
)
{
PORTB
=
(
PORTB
^
(
LEDMask
&
LEDS_ALL_LEDS
))
;
PORTB
^
=
LEDMask
;
}
static
inline
uint8_t
LEDs_GetLEDs
(
void
)
ATTR_WARN_UNUSED_RESULT
;
...
...
LUFA/Drivers/Board/MINIMUS/LEDs.h
View file @
cb9ef559
...
...
@@ -84,23 +84,23 @@
#if !defined(__DOXYGEN__)
static
inline
void
LEDs_Init
(
void
)
{
DDRD
|=
LEDS_ALL_LEDS
;
PORTD
&
=
~
LEDS_ALL_LEDS
;
DDRD
|=
LEDS_ALL_LEDS
;
PORTD
|
=
LEDS_ALL_LEDS
;
}
static
inline
void
LEDs_TurnOnLEDs
(
const
uint8_t
LEDMask
)
{
PORTD
|
=
LEDMask
;
PORTD
&
=
~
LEDMask
;
}
static
inline
void
LEDs_TurnOffLEDs
(
const
uint8_t
LEDMask
)
{
PORTD
&
=
~
LEDMask
;
PORTD
|
=
LEDMask
;
}
static
inline
void
LEDs_SetAllLEDs
(
const
uint8_t
LEDMask
)
{
PORTD
=
((
PORTD
&
~
LEDS_ALL_LEDS
)
|
LEDMask
);
PORTD
=
((
PORTD
|
LEDS_ALL_LEDS
)
&
~
LEDMask
);
}
static
inline
void
LEDs_ChangeLEDs
(
const
uint8_t
LEDMask
,
...
...
@@ -111,7 +111,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
;
...
...
LUFA/Drivers/Board/RZUSBSTICK/LEDs.h
View file @
cb9ef559
...
...
@@ -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
;
...
...
LUFA/ManPages/ChangeLog.txt
View file @
cb9ef559
...
...
@@ -38,6 +38,7 @@
* - Fixed HID host class driver incorrectly binding to HID devices that do not have an OUT endpoint
* - Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID class driver (thanks to Opendous Inc.)
* - Fixed incorrect endpoint initialisation order in the several device demos (thanks to Rick Drolet)
* - Fixed inverted Minimum board LEDs
* - Library Applications:
* - Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy
* - Fixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpered to ground
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment