From 051edee3ffb38e9127db83e6f625dd34422b8ce4 Mon Sep 17 00:00:00 2001 From: e2002 Date: Sun, 15 Dec 2024 17:52:45 +0300 Subject: [PATCH] v0.9.369 --- README.md | 3 +++ yoRadio/src/core/config.cpp | 4 ---- yoRadio/src/core/options.h | 2 +- yoRadio/src/main.cpp | 4 ++++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a2fbbb5..914bcf1 100644 --- a/README.md +++ b/README.md @@ -234,6 +234,9 @@ Work is in progress... --- ## Version history +#### v0.9.369 +- fixed the issue with the non-functional HSPI bus + #### v0.9.368 - SD Card - optimization and bug fixes - Config - improvements and bug fixes diff --git a/yoRadio/src/core/config.cpp b/yoRadio/src/core/config.cpp index 7386541..f708bf0 100644 --- a/yoRadio/src/core/config.cpp +++ b/yoRadio/src/core/config.cpp @@ -12,10 +12,6 @@ Config config; -#if DSP_HSPI || TS_HSPI || VS_HSPI -SPIClass SPI2(HSPI); -#endif - void u8fix(char *src){ char last = src[strlen(src)-1]; if ((uint8_t)last >= 0xC2) src[strlen(src)-1]='\0'; diff --git a/yoRadio/src/core/options.h b/yoRadio/src/core/options.h index 4b14cba..d029026 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.368" +#define YOVERSION "0.9.369" /******************************************************* DO NOT EDIT THIS FILE. diff --git a/yoRadio/src/main.cpp b/yoRadio/src/main.cpp index 22e3531..728abc4 100644 --- a/yoRadio/src/main.cpp +++ b/yoRadio/src/main.cpp @@ -10,6 +10,10 @@ #include "core/mqtt.h" #include "core/optionschecker.h" +#if DSP_HSPI || TS_HSPI || VS_HSPI +SPIClass SPI2(HSPI); +#endif + extern __attribute__((weak)) void yoradio_on_setup(); void setup() {