diff options
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index e192748e4d..aceecb55ae 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -33,10 +33,11 @@ | |||
33 | enum { | 33 | enum { |
34 | USB_EXTRACTED = 0, /* Event+State */ | 34 | USB_EXTRACTED = 0, /* Event+State */ |
35 | USB_INSERTED, /* Event+State */ | 35 | USB_INSERTED, /* Event+State */ |
36 | #if defined(HAVE_USB_POWER) || defined(USB_DETECT_BY_DRV) | 36 | #if defined(HAVE_USB_POWER) || defined(USB_DETECT_BY_DRV) || \ |
37 | defined(USB_DETECT_BY_CORE) | ||
37 | USB_POWERED, /* Event+State */ | 38 | USB_POWERED, /* Event+State */ |
38 | #endif | 39 | #endif |
39 | #ifdef USB_DETECT_BY_DRV | 40 | #if defined(USB_DETECT_BY_DRV) || defined(USB_DETECT_BY_CORE) |
40 | USB_UNPOWERED, /* Event */ | 41 | USB_UNPOWERED, /* Event */ |
41 | #endif | 42 | #endif |
42 | #ifdef HAVE_LCD_BITMAP | 43 | #ifdef HAVE_LCD_BITMAP |