- Blocking occurs if built without option INTERRUPT_CONTROL_ENDPOINTtags/v1.9
{ | { | ||||
SetupHardware(); | SetupHardware(); | ||||
sei(); | sei(); | ||||
#if defined(INTERRUPT_CONTROL_ENDPOINT) | |||||
while (USB_DeviceState != DEVICE_STATE_Configured) ; | while (USB_DeviceState != DEVICE_STATE_Configured) ; | ||||
#endif | |||||
print("USB configured.\n"); | print("USB configured.\n"); | ||||
keyboard_init(); | keyboard_init(); |