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/MIDIHost/MIDIHost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Host/ClassDriver/MIDIHost/MIDIHost.c') diff --git a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c index 04a945429..8c7d6ccba 100644 --- a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c +++ b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c @@ -68,7 +68,7 @@ int main(void) puts_P(PSTR(ESC_FG_CYAN "MIDI Host Demo running.\r\n" ESC_FG_WHITE)); LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY); - sei(); + GlobalInterruptEnable(); for (;;) { -- cgit v1.2.3