summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/ibasso/usb-ibasso.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-13 20:03:49 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-13 20:04:04 -0500
commit03cd7730510558d6434f205743d71c3e197df608 (patch)
tree910e1a83b01eded7efae0ff67b880841e0da90dc /firmware/target/hosted/ibasso/usb-ibasso.c
parent43f90746d5610a36eaf7dc98b9fa3ca17ee6010e (diff)
downloadrockbox-03cd773051.tar.gz
rockbox-03cd773051.zip
ibasso: Hopefully hack usb into building again.
Change-Id: I6f369d60319704ab4d2c18b80ba6e78902630790
Diffstat (limited to 'firmware/target/hosted/ibasso/usb-ibasso.c')
-rw-r--r--firmware/target/hosted/ibasso/usb-ibasso.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/target/hosted/ibasso/usb-ibasso.c b/firmware/target/hosted/ibasso/usb-ibasso.c
index c1ac7b222a..9889318cf2 100644
--- a/firmware/target/hosted/ibasso/usb-ibasso.c
+++ b/firmware/target/hosted/ibasso/usb-ibasso.c
@@ -21,7 +21,6 @@
*
****************************************************************************/
-
#include <stdlib.h>
#include "config.h"
@@ -31,7 +30,6 @@
#include "debug-ibasso.h"
#include "usb-ibasso.h"
-
static void usb_enable_adb(void)
{
TRACE;
@@ -46,7 +44,6 @@ static void usb_enable_adb(void)
DEBUGF("ERROR %s: No command processor available.", __func__);
}
-
static void usb_enable_mass_storage(void)
{
TRACE;
@@ -89,3 +86,8 @@ void ibasso_set_usb_mode(int mode)
}
}
}
+
+bool usb_powered_only(void)
+{
+ return false;
+}