From 701e262d3d622898279167ba909da631ac460bc1 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 30 Nov 2022 14:50:18 +0000 Subject: settings: Remove setting ID return from find_setting() Now that all users have replaced setting IDs with direct pointers, find_setting() and friends don't need to return an ID value. Change-Id: I8c5c31bb68d3bca5350d43538335265a55fd5517 --- apps/shortcuts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/shortcuts.c') diff --git a/apps/shortcuts.c b/apps/shortcuts.c index cf372ce023..82e4a359bf 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c @@ -342,7 +342,7 @@ static int readline_cb(int n, char *buf, void *parameters) strmemccpy(sc->u.path, value, MAX_PATH); break; case SHORTCUT_SETTING: - sc->u.setting = find_setting_by_cfgname(value, NULL); + sc->u.setting = find_setting_by_cfgname(value); break; case SHORTCUT_TIME: #if CONFIG_RTC -- cgit v1.2.3