diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-17 21:00:59 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-17 21:00:59 +0000 |
commit | 1eefbf9041ba71667a0dcf351685512db1244499 (patch) | |
tree | f3da4fc70cca293cd6ec93c9ed28c0878470d4a4 /Demos/Host/ClassDriver/MouseHost | |
parent | 92ee5ad826f567536c3d0a235ab6eeee919a30ab (diff) | |
download | lufa-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/Host/ClassDriver/MouseHost')
-rw-r--r-- | Demos/Host/ClassDriver/MouseHost/MouseHost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/MouseHost/MouseHost.c b/Demos/Host/ClassDriver/MouseHost/MouseHost.c index 1290e4855..56ae6365f 100644 --- a/Demos/Host/ClassDriver/MouseHost/MouseHost.c +++ b/Demos/Host/ClassDriver/MouseHost/MouseHost.c @@ -69,7 +69,7 @@ int main(void) puts_P(PSTR(ESC_FG_CYAN "Mouse Host Demo running.\r\n" ESC_FG_WHITE)); LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY); - sei(); + GlobalInterruptEnable(); for (;;) { |