Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
5a0bd853
Commit
5a0bd853
authored
Jul 26, 2012
by
Dean Camera
Browse files
Fix errors in some board driver LED_Disable() functions.
parent
efa5d540
Changes
4
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/Board/AVR8/BIGMULTIO/LEDs.h
View file @
5a0bd853
...
...
@@ -105,8 +105,8 @@
static
inline
void
LEDs_Disable
(
void
)
{
DDRF
|
=
LEDS_PORTF_LEDS
;
DDRE
|
=
LEDS_PORTE_LEDS
;
DDRF
&
=
~
LEDS_PORTF_LEDS
;
DDRE
&
=
~
LEDS_PORTE_LEDS
;
PORTF
&=
~
LEDS_PORTF_LEDS
;
PORTE
&=
~
LEDS_PORTE_LEDS
;
...
...
LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h
View file @
5a0bd853
...
...
@@ -105,8 +105,8 @@
static
inline
void
LEDs_Disable
(
void
)
{
DDRD
|
=
LEDS_PORTD_LEDS
;
DDRC
|
=
LEDS_PORTC_LEDS
;
DDRD
&
=
~
LEDS_PORTD_LEDS
;
DDRC
&
=
~
LEDS_PORTC_LEDS
;
PORTD
&=
~
LEDS_PORTD_LEDS
;
PORTC
&=
~
LEDS_PORTC_LEDS
;
...
...
LUFA/Drivers/Board/AVR8/OLIMEX32U4/LEDs.h
View file @
5a0bd853
...
...
@@ -113,11 +113,11 @@
static
inline
void
LEDs_Disable
(
void
)
{
DDRB
&=
LEDS_PORTB_LEDS
;
DDRB
&=
~
LEDS_PORTB_LEDS
;
PORTB
&=
~
LEDS_PORTB_LEDS
;
DDRD
&=
(
LEDS_PORTD_LEDS
<<
LEDS_PORTD_MASK_SHIFT
);
DDRD
&=
~
(
LEDS_PORTD_LEDS
<<
LEDS_PORTD_MASK_SHIFT
);
PORTD
&=
~
(
LEDS_PORTD_LEDS
<<
LEDS_PORTD_MASK_SHIFT
);
DDRE
&=
LEDS_PORTE_LEDS
;
DDRE
&=
~
LEDS_PORTE_LEDS
;
PORTE
&=
~
LEDS_PORTE_LEDS
;
}
...
...
LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
View file @
5a0bd853
...
...
@@ -107,11 +107,11 @@
static
inline
void
LEDs_Disable
(
void
)
{
DDRB
&=
LEDS_PORTB_LEDS
;
DDRB
&=
~
LEDS_PORTB_LEDS
;
PORTB
&=
~
LEDS_PORTB_LEDS
;
DDRD
&=
LEDS_PORTD_LEDS
;
DDRD
&=
~
LEDS_PORTD_LEDS
;
PORTD
&=
~
LEDS_PORTD_LEDS
;
DDRE
&=
LEDS_PORTE_LEDS
;
DDRE
&=
~
LEDS_PORTE_LEDS
;
PORTE
&=
~
LEDS_PORTE_LEDS
;
}
...
...
Write
Preview
Supports
Markdown
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