summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usbh_hubbed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usbh_hubbed.c b/src/usbh_hubbed.c
index 039ccd5..0ebaf1c 100644
--- a/src/usbh_hubbed.c
+++ b/src/usbh_hubbed.c
@@ -519,6 +519,10 @@ static void device_enumerate(usbh_device_t *dev, usbh_packet_callback_data_t cb_
}
break;
+
+ default:
+ LOG_PRINTF("Error: Unknown state "__FILE__"/%d\n", __LINE__);
+ break;
}
if (state_start == dev->state) {