diff --git a/README.md b/README.md index e07cfc0..e20bfa2 100644 --- a/README.md +++ b/README.md @@ -294,6 +294,9 @@ Work is in progress... --- ## Version history +#### v0.6.345 +- fix compilation error in rssibitrate plugin with ILI9225 display + #### v0.6.344 - fixed SPI-display bugs when used with VS1053B module - added example plugin for analog volume control ([exsamples/plugins/analogvolume.ino](exsamples/plugins/analogvolume.ino)) diff --git a/yoRadio/options.h b/yoRadio/options.h index c9d6efd..86c8aa9 100644 --- a/yoRadio/options.h +++ b/yoRadio/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define VERSION "0.6.344" +#define VERSION "0.6.345" /******************************************************* DO NOT EDIT THIS FILE. diff --git a/yoRadio/src/displays/displayILI9225.h b/yoRadio/src/displays/displayILI9225.h index 4b65bed..661b625 100644 --- a/yoRadio/src/displays/displayILI9225.h +++ b/yoRadio/src/displays/displayILI9225.h @@ -70,6 +70,8 @@ class DspCore: public TFT_22_ILI9225 { int16_t *y1, uint16_t *w, uint16_t *h); void fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color); + int16_t width(void) { return (int16_t)maxX(); } + int16_t height(void) { return (int16_t)maxY(); } private: uint16_t swidth, sheight; uint16_t bgcolor, fgcolor; diff --git a/yoRadio/src/displays/displayILI9225.h.zip b/yoRadio/src/displays/displayILI9225.h.zip new file mode 100644 index 0000000..1624449 Binary files /dev/null and b/yoRadio/src/displays/displayILI9225.h.zip differ