From 3662c2dbb76c6c9557fdaab8a76ce682e9e6efeb Mon Sep 17 00:00:00 2001 From: e2002 Date: Fri, 22 Sep 2023 09:37:52 +0300 Subject: [PATCH] v0.9.273 --- README.md | 3 +++ yoRadio/src/audioI2S/Audio.cpp | 5 +---- yoRadio/src/audioVS1053/audioVS1053Ex.cpp | 5 +---- yoRadio/src/core/options.h | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2daa8b6..131e2a5 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,9 @@ Work is in progress... --- ## Version history +#### v0.9.273 +- fixed an "Guru Meditation Error" when playing streams with installed the ESP32 v2.0.10 and higher core installed + #### v0.9.260 - fixed date display bug for ILI9488/ILI9486 displays diff --git a/yoRadio/src/audioI2S/Audio.cpp b/yoRadio/src/audioI2S/Audio.cpp index 370e193..6a78f06 100644 --- a/yoRadio/src/audioI2S/Audio.cpp +++ b/yoRadio/src/audioI2S/Audio.cpp @@ -316,10 +316,7 @@ void Audio::setDefaults() { vector_clear_and_shrink(m_playlistContent); m_hashQueue.clear(); m_hashQueue.shrink_to_fit(); // uint32_t vector if(config.getMode()!=PM_SDCARD){ - client.stop(); - client.flush(); // release memory - clientsecure.stop(); - clientsecure.flush(); + if(_client) _client->stop(); _client = static_cast(&client); /* default to *something* so that no NULL deref can happen */ } playI2Sremains(); diff --git a/yoRadio/src/audioVS1053/audioVS1053Ex.cpp b/yoRadio/src/audioVS1053/audioVS1053Ex.cpp index 64a9bd2..a3cd669 100644 --- a/yoRadio/src/audioVS1053/audioVS1053Ex.cpp +++ b/yoRadio/src/audioVS1053/audioVS1053Ex.cpp @@ -1613,10 +1613,7 @@ void Audio::setDefaults(){ vector_clear_and_shrink(m_playlistURL); vector_clear_and_shrink(m_playlistContent); if(config.getMode()!=PM_SDCARD){ - client.stop(); - client.flush(); // release memory - clientsecure.stop(); - clientsecure.flush(); + if(_client) _client->stop(); _client = static_cast(&client); /* default to *something* so that no NULL deref can happen */ } m_f_ctseen=false; // Contents type not seen yet diff --git a/yoRadio/src/core/options.h b/yoRadio/src/core/options.h index 598723a..c2f4602 100644 --- a/yoRadio/src/core/options.h +++ b/yoRadio/src/core/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define YOVERSION "0.9.260" +#define YOVERSION "0.9.273" /******************************************************* DO NOT EDIT THIS FILE.