forked from mirror/qmk_firmware
USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
This commit is contained in:
@@ -95,10 +95,11 @@ int main(void)
|
||||
{
|
||||
SetupHardware();
|
||||
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
|
||||
|
||||
CmdState = CMD_STOP;
|
||||
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
|
||||
sei();
|
||||
|
||||
for (;;)
|
||||
{
|
||||
Read_Joystick_Status();
|
||||
|
||||
Reference in New Issue
Block a user