Fix reset pin config name for SSD1306 & ST7735
Impacts software SPI mode (ADAGFX_SPI_HW=0)
@@ -159,7 +159,7 @@ extern "C" {
#if (ADAGFX_SPI_HW) // Use hardware SPI or software SPI (with custom pins)
Adafruit_SSD1306 m_disp(ADAGFX_PIN_DC, ADAGFX_PIN_RST, ADAGFX_PIN_CS);
#else
- Adafruit_SSD1306 m_disp(ADAGFX_PIN_MOSI, ADAGFX_PIN_CLK, ADAGFX_PIN_DC, ADAGFX_PIN_RESET, ADAGFX_PIN_CS);
+ Adafruit_SSD1306 m_disp(ADAGFX_PIN_MOSI, ADAGFX_PIN_CLK, ADAGFX_PIN_DC, ADAGFX_PIN_RST, ADAGFX_PIN_CS);
#endif
// ------------------------------------------------------------------------
@@ -167,7 +167,7 @@ extern "C" {
#if (ADAGFX_SPI_HW) // Use hardware SPI or software SPI (with custom pins)
Adafruit_ST7735 m_disp(ADAGFX_PIN_CS, ADAGFX_PIN_DC, ADAGFX_PIN_RST);
#else
- Adafruit_ST7735 m_disp(ADAGFX_PIN_CS, ADAGFX_PIN_DC, ADAGFX_PIN_MOSI, ADAGFX_PIN_CLK, ADAGFX_PIN_RESET);
+ Adafruit_ST7735 m_disp(ADAGFX_PIN_CS, ADAGFX_PIN_DC, ADAGFX_PIN_MOSI, ADAGFX_PIN_CLK, ADAGFX_PIN_RST);
#endif
// ------------------------------------------------------------------------
