summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-16 23:23:25 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-16 23:23:25 -0400
commit2b9c85a41b190c6843000f18b922946bd6bd3bed (patch)
treebc3ea7a222fbe2bbfe6da37586631b504dd70a50 /apps
parent805f5316325eea37a90b5299b4a3ba601077f0a5 (diff)
downloadrockbox-2b9c85a41b190c6843000f18b922946bd6bd3bed.tar.gz
rockbox-2b9c85a41b190c6843000f18b922946bd6bd3bed.tar.bz2
rockbox-2b9c85a41b190c6843000f18b922946bd6bd3bed.zip
storage: Clean up storage_xxxx macros when STORAGE_MULTI is not set
Change-Id: I1652eac1743f4b8b84da08ea5a6d04ac7e17e21d
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c4
-rw-r--r--apps/settings_list.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 7d40a8db4f..4293d861f9 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -421,8 +421,8 @@ static const struct plugin_api rockbox_api = {
read_line,
settings_parseline,
storage_sleep,
- storage_spin,
- storage_spindown,
+ STORAGE_FUNCTION(spin),
+ STORAGE_FUNCTION(spindown),
#if USING_STORAGE_CALLBACK
register_storage_idle_func,
unregister_storage_idle_func,
diff --git a/apps/settings_list.c b/apps/settings_list.c
index bc03672aeb..435a09bb8a 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1255,7 +1255,7 @@ const struct settings_list settings[] = {
/* disk */
#ifdef HAVE_DISK_STORAGE
INT_SETTING(F_TIME_SETTING, disk_spindown, LANG_SPINDOWN, 5, "disk spindown",
- UNIT_SEC, 3, 254, 1, NULL, NULL, storage_spindown),
+ UNIT_SEC, 3, 254, 1, NULL, NULL, STORAGE_FUNCTION(spindown)),
#endif /* HAVE_DISK_STORAGE */
/* browser */
TEXT_SETTING(0, start_directory, "start directory", "/", NULL, NULL),