From a1b744500699021063656093b28068c7e2fe0c09 Mon Sep 17 00:00:00 2001 From: e2002 Date: Tue, 6 Dec 2022 09:37:18 +0300 Subject: [PATCH] v0.8.137 --- README.md | 3 +++ yoRadio/src/core/controls.h | 2 ++ yoRadio/src/core/options.h | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0383a8c..fe60c38 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,9 @@ Work is in progress... --- ## Version history +#### v0.8.137 +- fixed compilation error without encoder + #### v0.8.135 - added numeric IR remote buttons in configurations with DSP_DUMMY - fixed navigation bug in playlist with more than 255 stations diff --git a/yoRadio/src/core/controls.h b/yoRadio/src/core/controls.h index f61e496..de3c228 100644 --- a/yoRadio/src/core/controls.h +++ b/yoRadio/src/core/controls.h @@ -18,7 +18,9 @@ boolean checklpdelay(int m, unsigned long &tstamp); void initControls(); void loopControls(); +#if (ENC_BTNL!=255 && ENC_BTNR!=255) || (ENC2_BTNL!=255 && ENC2_BTNR!=255) void encodersLoop(yoEncoder *enc, bool first=true); +#endif void encoder1Loop(); void encoder2Loop(); void irLoop(); diff --git a/yoRadio/src/core/options.h b/yoRadio/src/core/options.h index 985c4ec..824ee25 100644 --- a/yoRadio/src/core/options.h +++ b/yoRadio/src/core/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define VERSION "0.8.135" +#define VERSION "0.8.137" /******************************************************* DO NOT EDIT THIS FILE.