Avoid LTO conficts on arm_atsam (#13676)

This commit is contained in:
Joel Challis 2021-07-24 12:13:06 +01:00 committed by GitHub
parent 7907a72584
commit 567da49ed0
Failed to generate hash of commit
6 changed files with 6 additions and 6 deletions

View file

@ -106,7 +106,7 @@ __attribute__((weak)) bool is_keyboard_master(void) {
// Avoid NO_USB_STARTUP_CHECK - Disable USB as the previous checks seem to enable it somehow
if (usbstate == SLAVE) {
usb_disable();
usb_disconnect();
}
}