summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-26 13:55:14 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-26 18:18:02 +0000
commita52eb1d8cc05e22d31d7a667a73341556b6347bb (patch)
tree7383856410e1c232ba38f47cf0bb4a6e40f5fc5b /apps/settings_list.c
parentf4bf27c26e49f7e476b4cde5d52c5b9c791638fe (diff)
downloadrockbox-a52eb1d8cc.tar.gz
rockbox-a52eb1d8cc.tar.bz2
rockbox-a52eb1d8cc.zip
xduoox3: Include curves for both battery types
There is no way to detect this at runtime so it is a user setting Change-Id: Ibc5b87312238c59e3678d512af27e3a3bcb9a58a
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index a38ebc639c..64a150c806 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1050,8 +1050,12 @@ const struct settings_list settings[] = {
#if BATTERY_TYPES_COUNT > 1
CHOICE_SETTING(0, battery_type, LANG_BATTERY_TYPE, 0, "battery type",
- "alkaline,nimh", NULL, 2, ID2P(LANG_BATTERY_TYPE_ALKALINE),
- ID2P(LANG_BATTERY_TYPE_NIMH)),
+#ifdef XDUOO_X3
+ "new_2000mAh,old_1500mAh",
+#else
+ "alkaline,nimh",
+#endif
+ NULL, 2, ID2P(LANG_BATTERY_TYPE_1), ID2P(LANG_BATTERY_TYPE_2)),
#endif
#ifdef HAVE_REMOTE_LCD
/* remote lcd */