mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-02 06:49:16 +02:00
Merge remote-tracking branch 'upstream/develop' into xap
This commit is contained in:
@@ -71,6 +71,11 @@
|
||||
# include "xap.h"
|
||||
#endif
|
||||
|
||||
#ifdef WAIT_FOR_USB
|
||||
// TODO: Remove backwards compatibility with old define
|
||||
# define USB_WAIT_FOR_ENUMERATION
|
||||
#endif
|
||||
|
||||
uint8_t keyboard_idle = 0;
|
||||
/* 0: Boot Protocol, 1: Report Protocol(default) */
|
||||
uint8_t keyboard_protocol = 1;
|
||||
@@ -916,7 +921,7 @@ void protocol_pre_init(void) {
|
||||
|
||||
/* wait for USB startup & debug output */
|
||||
|
||||
#ifdef WAIT_FOR_USB
|
||||
#ifdef USB_WAIT_FOR_ENUMERATION
|
||||
while (USB_DeviceState != DEVICE_STATE_Configured) {
|
||||
# if defined(INTERRUPT_CONTROL_ENDPOINT)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user