From 1eefbf9041ba71667a0dcf351685512db1244499 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 17 Sep 2012 21:00:59 +0000 Subject: Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability. --- Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c') diff --git a/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c b/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c index 69499089b..d2fe0ce0e 100644 --- a/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c +++ b/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c @@ -69,7 +69,7 @@ int main(void) puts_P(PSTR(ESC_FG_CYAN "Keyboard Host Demo running.\r\n" ESC_FG_WHITE)); LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY); - sei(); + GlobalInterruptEnable(); for (;;) { -- cgit v1.2.3