summaryrefslogtreecommitdiffstats
path: root/src/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/usb.h')
-rw-r--r--src/usb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usb.h b/src/usb.h
index b1b9bb9..4e44cce 100644
--- a/src/usb.h
+++ b/src/usb.h
@@ -50,6 +50,10 @@
#define PID_APPLE_SILICON_RESTORE_LOW 0x1901
#define PID_APPLE_SILICON_RESTORE_MAX 0x1905
+#define ENV_DEVICE_MODE "USBMUXD_DEFAULT_DEVICE_MODE"
+#define APPLE_VEND_SPECIFIC_GET_MODE 0x45
+#define APPLE_VEND_SPECIFIC_SET_MODE 0x52
+
struct usb_device;
int usb_init(void);