summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ibasso/usb-ibasso.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/ibasso/usb-ibasso.h')
-rw-r--r--firmware/target/hosted/ibasso/usb-ibasso.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/firmware/target/hosted/ibasso/usb-ibasso.h b/firmware/target/hosted/ibasso/usb-ibasso.h
index f509d43038..6cd31134b6 100644
--- a/firmware/target/hosted/ibasso/usb-ibasso.h
+++ b/firmware/target/hosted/ibasso/usb-ibasso.h
@@ -25,30 +25,10 @@
25#ifndef _USB_DX50_H_ 25#ifndef _USB_DX50_H_
26#define _USB_DX50_H_ 26#define _USB_DX50_H_
27 27
28
29/* Supported usb modes. */
30enum ibasso_usb_mode
31{
32 /*
33 USB mass storage mode. On USB connection, Rockbox will terminate and the internel and
34 external storage gets exported to the connected client.
35 */
36 USB_MODE_MASS_STORAGE = 0,
37
38 /*
39 Actually the same, since we to not have proper USB detection.
40 Starts the adb server and enables adb connection over USB. Rockbox will continue to run.
41 */
42 USB_MODE_CHARGE,
43 USB_MODE_ADB
44};
45
46
47/* 28/*
48 Set the usb mode. 29 Set the usb mode.
49 mode: ibasso_usb_mode 30 mode: ibasso_usb_mode
50*/ 31*/
51void ibasso_set_usb_mode(int mode); 32void ibasso_set_usb_mode(int mode);
52 33
53
54#endif 34#endif