projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix errors in some board driver LED_Disable() functions.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
AVR8
/
MULTIO
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h
b/LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h
index
14809df
..
03506b4
100644
(file)
--- a/
LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h
+++ b/
LUFA/Drivers/Board/AVR8/MULTIO/LEDs.h
@@
-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;