summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-09-26 18:44:50 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-10-02 16:14:17 +0100
commit75524a7eeca2a5771486762b65c7e0e5ad3e4a65 (patch)
treeba6d994f9c788f82e0c160b92c3c69ba68fb140f /firmware/export
parenta62fdf4751dd8ac13929039caf46ab7e81a14d51 (diff)
downloadrockbox-75524a7eeca2a5771486762b65c7e0e5ad3e4a65.tar.gz
rockbox-75524a7eeca2a5771486762b65c7e0e5ad3e4a65.zip
Shanling Q1: default to USB force charging
Force charging must be set or the Q1 will not draw 500 mA from an AC adapter (see 0ca0940f01). Change-Id: I4ec6dc7728a5aa4d7f07580556efb960948c24a8
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/shanlingq1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/config/shanlingq1.h b/firmware/export/config/shanlingq1.h
index 1122b7693c..c7ad1dfa6e 100644
--- a/firmware/export/config/shanlingq1.h
+++ b/firmware/export/config/shanlingq1.h
@@ -105,6 +105,7 @@
#define HAVE_USB_POWER
#define HAVE_USB_CHARGING_ENABLE
#define HAVE_USB_CHARGING_IN_THREAD
+#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
#define HAVE_BOOTLOADER_USB_MODE
#endif