From 8cb555460ff79e636a7907fb2589e16db98c8600 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 00:01:32 -0400 Subject: [3/4] Completely remove HWCODEC support 'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0 --- firmware/powermgmt.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'firmware/powermgmt.c') diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 750f8d5ef4..ed979f83ce 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -31,7 +31,6 @@ #include "storage.h" #include "power.h" #include "audio.h" -#include "mp3_playback.h" #include "usb.h" #include "powermgmt.h" #include "backlight.h" @@ -770,11 +769,7 @@ void shutdown_hw(void) storage_spindown(1); } -#if CONFIG_CODEC == SWCODEC audiohw_close(); -#else - mp3_shutdown(); -#endif /* If HD is still active we try to wait for spindown, otherwise the shutdown_timeout in power_thread_step will force a power off */ -- cgit v1.2.3