Merge remote-tracking branch 'upstream/develop' into xap

This commit is contained in:
Nick Brassel
2024-05-02 20:48:16 +10:00
833 changed files with 20096 additions and 3668 deletions
+6 -1
View File
@@ -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)
;