1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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; }