Format code according to conventions (#16322)
This commit is contained in:
@ -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