clang tidy

This commit is contained in:
Tomasz Duda 2024-10-08 00:07:46 +02:00
parent 6a9a1f6f24
commit 152a4abd65

View file

@ -16,7 +16,7 @@ static const char *const TAG = "usb_device";
#ifndef USE_ARDUINO #ifndef USE_ARDUINO
bool usb_configured = false; bool usb_configured = false;
void status_callback(enum usb_dc_status_code cb_status, uint8_t *param) { void status_callback(enum usb_dc_status_code cb_status, uint8_t *param) {
switch(cb_status) { switch (cb_status) {
case USB_DC_ERROR: case USB_DC_ERROR:
case USB_DC_RESET: case USB_DC_RESET:
case USB_DC_DISCONNECTED: case USB_DC_DISCONNECTED: