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
6 changed files with 6 additions and 6 deletions

View File

@ -16,6 +16,6 @@
#include <hal.h>
#include "usb_util.h"
void usb_disable(void) { usbStop(&USBD1); }
void usb_disconnect(void) { usbStop(&USBD1); }
bool usb_connected_state(void) { return usbGetDriverStateI(&USBD1) == USB_ACTIVE; }