aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/DualRole
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-09-17 21:00:59 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-09-17 21:00:59 +0000
commit1eefbf9041ba71667a0dcf351685512db1244499 (patch)
treef3da4fc70cca293cd6ec93c9ed28c0878470d4a4 /Demos/DualRole
parent92ee5ad826f567536c3d0a235ab6eeee919a30ab (diff)
downloadlufa-1eefbf9041ba71667a0dcf351685512db1244499.tar.gz
lufa-1eefbf9041ba71667a0dcf351685512db1244499.tar.bz2
lufa-1eefbf9041ba71667a0dcf351685512db1244499.zip
Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.
Diffstat (limited to 'Demos/DualRole')
-rw-r--r--Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c b/Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
index 53e01b279..3ea24418f 100644
--- a/Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
+++ b/Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
@@ -46,7 +46,7 @@ int main(void)
puts_P(PSTR(ESC_FG_CYAN "Mouse Host/Device Demo running.\r\n" ESC_FG_WHITE));
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
- sei();
+ GlobalInterruptEnable();
for (;;)
{