From 6322e66219baba3fea7f4ec3cc622674f2f340f3 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 25 Aug 2021 21:47:29 +0100 Subject: Remove long-deprecated old style EQ settings These were deprecated by 1eb17dc9f4 back in 2013 just prior to the 3.13 release. We've had 3.14 and 3.15 since then and I guess nobody will complain if we finally remove them (fingers crossed...) Also fix a line which got missed when converting hardcoded numbers to EQ_NUM_BANDS in that commit. Change-Id: I79dd71f1f2810bf19bc135999868fafc5fee6e04 --- apps/menus/eq_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/menus') diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index 79389ae561..109c3c9ab7 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c @@ -674,7 +674,7 @@ int eq_menu_graphical(void) { if (current_band == 0) { start_item = 0; - } else if (current_band == 9) { + } else if (current_band == EQ_NUM_BANDS - 1) { start_item = EQ_NUM_BANDS - nb_eq_sliders[i]; } else { start_item = current_band - 1; -- cgit v1.2.3