From 520b3455d1c410a91b36de6b45d1027a57423048 Mon Sep 17 00:00:00 2001 From: e2002 Date: Sun, 10 Apr 2022 09:47:47 +0300 Subject: [PATCH] v0.6.121 --- README.md | 3 +++ yoRadio/options.h | 2 +- yoRadio/src/Adafruit_GC9106Ex/Adafruit_GC9106Ex.cpp | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0008fcc..cd06d9c 100644 --- a/README.md +++ b/README.md @@ -281,6 +281,9 @@ Work is in progress... --- ## Version history +#### v0.6.121 +- fixed compiling error with DSP_GC9106 option + #### v0.6.120 - added support for GC9106 160x80 SPI displays - fixed compiling error with DSP_DUMMY option diff --git a/yoRadio/options.h b/yoRadio/options.h index f50a830..a3b8081 100644 --- a/yoRadio/options.h +++ b/yoRadio/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define VERSION "0.6.120" +#define VERSION "0.6.121" /******************************************************* DO NOT EDIT THIS FILE. diff --git a/yoRadio/src/Adafruit_GC9106Ex/Adafruit_GC9106Ex.cpp b/yoRadio/src/Adafruit_GC9106Ex/Adafruit_GC9106Ex.cpp index 09e829b..f7cdc6a 100644 --- a/yoRadio/src/Adafruit_GC9106Ex/Adafruit_GC9106Ex.cpp +++ b/yoRadio/src/Adafruit_GC9106Ex/Adafruit_GC9106Ex.cpp @@ -22,6 +22,9 @@ * */ +#include "../../options.h" +#if DSP_MODEL==DSP_GC9106 + #include "Adafruit_GC9106Ex.h" #ifndef ARDUINO_STM32_FEATHER #include "pins_arduino.h" @@ -309,4 +312,4 @@ void Adafruit_GC9106Ex::setAddrWindow(uint16_t x1, uint16_t y1, uint16_t w, SPI_WRITE16(y2); writeCommand(GC9106_RAMWR); // Write to RAM } - +#endif