From 152a4abd651efd7a34cb0a91fdb3340262fab6e2 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Tue, 8 Oct 2024 00:07:46 +0200 Subject: [PATCH] clang tidy --- esphome/components/usb_device/usb_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/usb_device/usb_device.cpp b/esphome/components/usb_device/usb_device.cpp index 8a85fbf847..bc4289e160 100644 --- a/esphome/components/usb_device/usb_device.cpp +++ b/esphome/components/usb_device/usb_device.cpp @@ -16,7 +16,7 @@ static const char *const TAG = "usb_device"; #ifndef USE_ARDUINO bool usb_configured = false; 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_RESET: case USB_DC_DISCONNECTED: