summaryrefslogtreecommitdiff
path: root/quantum/split_common
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-07-24 12:13:06 +0100
committerGitHub <noreply@github.com>2021-07-24 12:13:06 +0100
commit567da49ed027a936a6f56aa069aad0db4605a198 (patch)
tree88253ae18b8cfd9e8699ab67e6c8d77da73c6539 /quantum/split_common
parent7907a725846720b96833057e94b548c38fcd0116 (diff)
Avoid LTO conficts on arm_atsam (#13676)
Diffstat (limited to 'quantum/split_common')
-rw-r--r--quantum/split_common/split_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c
index 989829d2dc..8d414f6fe6 100644
--- a/quantum/split_common/split_util.c
+++ b/quantum/split_common/split_util.c
@@ -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();
}
}