diff options
-rw-r--r-- | firmware/usbstack/usb_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index 218b297455..eef963cf8a 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c | |||
@@ -285,10 +285,14 @@ static int usb_address = 0; | |||
285 | static bool initialized = false; | 285 | static bool initialized = false; |
286 | static enum { DEFAULT, ADDRESS, CONFIGURED } usb_state; | 286 | static enum { DEFAULT, ADDRESS, CONFIGURED } usb_state; |
287 | 287 | ||
288 | #ifdef USB_STORAGE | ||
288 | static bool usb_core_storage_enabled = false; | 289 | static bool usb_core_storage_enabled = false; |
290 | #endif | ||
289 | /* Next one is non-static, to enable setting it from the debug menu */ | 291 | /* Next one is non-static, to enable setting it from the debug menu */ |
290 | bool usb_core_serial_enabled = false; | 292 | bool usb_core_serial_enabled = false; |
293 | #ifdef USB_CHARGING_ONLY | ||
291 | static bool usb_core_charging_enabled = false; | 294 | static bool usb_core_charging_enabled = false; |
295 | #endif | ||
292 | #if defined(USB_BENCHMARK) | 296 | #if defined(USB_BENCHMARK) |
293 | static bool usb_core_benchmark_enabled = false; | 297 | static bool usb_core_benchmark_enabled = false; |
294 | #endif | 298 | #endif |