Format code according to conventions (#16322)
This commit is contained in:
1 parent
afcdd7079c
commit
63646e8906
345 files changed
+4916
-3229
No files matched your search
@@ -16,6 +16,10 @@
|
||||
#include <hal.h>
|
||||
#include "usb_util.h"
|
||||
|
||||
void usb_disconnect(void) { usbStop(&USBD1); }
|
||||
void usb_disconnect(void) {
|
||||
usbStop(&USBD1);
|
||||
}
|
||||
|
||||
bool usb_connected_state(void) { return usbGetDriverStateI(&USBD1) == USB_ACTIVE; }
|
||||
bool usb_connected_state(void) {
|
||||
return usbGetDriverStateI(&USBD1) == USB_ACTIVE;
|
||||
}
|
||||
Reference in new issue
Block a user