diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/usb.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index d68ac7d910..3baacc5420 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -30,15 +30,16 @@ | |||
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | /* Messages from usb_tick and thread states */ | 32 | /* Messages from usb_tick and thread states */ |
33 | enum { | 33 | enum |
34 | { | ||
35 | #ifdef HAVE_LCD_BITMAP | ||
36 | USB_SCREENDUMP = -1, /* State */ | ||
37 | #endif | ||
34 | USB_EXTRACTED = 0, /* Event+State */ | 38 | USB_EXTRACTED = 0, /* Event+State */ |
35 | USB_INSERTED, /* Event+State */ | 39 | USB_INSERTED, /* Event+State */ |
36 | USB_POWERED, /* Event+State - transitional indicator if no power */ | 40 | USB_POWERED, /* State - transitional indicator if no power */ |
37 | #ifdef USB_DETECT_BY_CORE | 41 | #ifdef USB_DETECT_BY_CORE |
38 | USB_UNPOWERED, /* Event */ | 42 | USB_HOSTED, /* Event - host presence was detected */ |
39 | #endif | ||
40 | #ifdef HAVE_LCD_BITMAP | ||
41 | USB_SCREENDUMP, /* State */ | ||
42 | #endif | 43 | #endif |
43 | #if (CONFIG_STORAGE & STORAGE_MMC) | 44 | #if (CONFIG_STORAGE & STORAGE_MMC) |
44 | USB_REENABLE, /* Event */ | 45 | USB_REENABLE, /* Event */ |
@@ -57,6 +58,7 @@ enum { | |||
57 | USB_HANDLED, /* Bootloader status code */ | 58 | USB_HANDLED, /* Bootloader status code */ |
58 | #endif | 59 | #endif |
59 | }; | 60 | }; |
61 | |||
60 | #ifdef HAVE_USB_POWER | 62 | #ifdef HAVE_USB_POWER |
61 | #if CONFIG_KEYPAD == RECORDER_PAD | 63 | #if CONFIG_KEYPAD == RECORDER_PAD |
62 | #define USBPOWER_BUTTON BUTTON_F1 | 64 | #define USBPOWER_BUTTON BUTTON_F1 |