projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and USAGE_MAXIMU...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
RZUSBSTICK
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h
b/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h
index
4f4d3cc
..
4012e5b
100644
(file)
--- a/
LUFA/Drivers/Board/RZUSBSTICK/LEDs.h
+++ b/
LUFA/Drivers/Board/RZUSBSTICK/LEDs.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-140,8
+140,8
@@
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
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;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;