diff options
Diffstat (limited to 'quantum/split_common')
| -rw-r--r-- | quantum/split_common/split_util.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index 8983861bc..5c548de05 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c | |||
| @@ -32,6 +32,12 @@ bool waitForUsb(void) { | |||
| 32 | } | 32 | } |
| 33 | wait_ms(100); | 33 | wait_ms(100); |
| 34 | } | 34 | } |
| 35 | |||
| 36 | #if defined(__AVR__) | ||
| 37 | // Avoid NO_USB_STARTUP_CHECK - Disable USB as the previous checks seem to enable it somehow | ||
| 38 | (USBCON &= ~(_BV(USBE) | _BV(OTGPADE))); | ||
| 39 | #endif | ||
| 40 | |||
| 35 | return false; | 41 | return false; |
| 36 | } | 42 | } |
| 37 | 43 | ||
