projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated the AVRISP-MKII Clone programmer project to be compatible with the latest...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
AVR8
/
USB2AX
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h
b/LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h
index
97a24ba
..
c34715e
100644
(file)
--- a/
LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h
+++ b/
LUFA/Drivers/Board/AVR8/USB2AX/LEDs.h
@@
-1,13
+1,13
@@
/*
\r
LUFA Library
\r
/*
\r
LUFA Library
\r
- Copyright (C) Dean Camera, 201
1
.
\r
+ Copyright (C) Dean Camera, 201
2
.
\r
\r
dean [at] fourwalledcubicle [dot] com
\r
www.lufa-lib.org
\r
*/
\r
\r
/*
\r
\r
dean [at] fourwalledcubicle [dot] com
\r
www.lufa-lib.org
\r
*/
\r
\r
/*
\r
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
\r
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
\r
\r
Permission to use, copy, modify, distribute, and sell this
\r
software and its documentation for any purpose is hereby granted
\r
\r
Permission to use, copy, modify, distribute, and sell this
\r
software and its documentation for any purpose is hereby granted
\r
@@
-104,6
+104,17
@@
#endif
\r
}
\r
\r
#endif
\r
}
\r
\r
+ static inline void LEDs_Disable(void)
\r
+ {
\r
+ #if (BOARD == BOARD_USB2AX)
\r
+ DDRC &= ~LEDS_ALL_LEDS;
\r
+ PORTC &= ~LEDS_ALL_LEDS;
\r
+ #else
\r
+ DDRD &= ~LEDS_ALL_LEDS;
\r
+ PORTD &= ~LEDS_ALL_LEDS;
\r
+ #endif
\r
+ }
\r
+
\r
static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
\r
{
\r
#if (BOARD == BOARD_USB2AX)
\r
static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
\r
{
\r
#if (BOARD == BOARD_USB2AX)
\r
@@
-170,3
+181,4
@@
\r
/** @} */
\r
\r
\r
/** @} */
\r
\r
+