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.