From 14fbefdf390d397a13b31e2b58b4615d794ff709 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 2 Oct 2022 21:05:32 +0100 Subject: Move skin global state to the WPS This state is actually specific to the WPS and it makes more sense to put it there. Change-Id: I5dfee237fdcbae944806501ff3127a930820d68a --- apps/radio/radio.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/radio/radio.c') diff --git a/apps/radio/radio.c b/apps/radio/radio.c index 1764495c7f..bf8ad865dd 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c @@ -56,7 +56,7 @@ #include "statusbar-skinned.h" #include "playback.h" #include "presets.h" -#include "skin_engine/wps_internals.h" +#include "wps.h" /* for wps_state... */ #if CONFIG_TUNER @@ -364,7 +364,9 @@ void radio_screen(void) { radio_load_presets(global_settings.fmr_file); } - skin_get_global_state()->id3 = NULL; + /* TODO: Can this be moved somewhere else? */ + get_wps_state()->id3 = NULL; + get_wps_state()->nid3 = NULL; #ifdef HAVE_ALBUMART radioart_init(true); #endif -- cgit v1.2.3