From ef6d048c2e84db31477511b6aaccc2f985da7359 Mon Sep 17 00:00:00 2001 From: "Dirk O. Kaar" Date: Fri, 26 Apr 2019 12:57:08 +0200 Subject: [PATCH] Fix compiler warnings. --- src/LOLIN_EPD.cpp | 2 +- src/LOLIN_IL3897.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/LOLIN_EPD.cpp b/src/LOLIN_EPD.cpp index 3a95e4c..88f2334 100644 --- a/src/LOLIN_EPD.cpp +++ b/src/LOLIN_EPD.cpp @@ -130,7 +130,7 @@ void LOLIN_EPD::sendCmd(uint8_t c) dcLow(); csLow(); - uint8_t data = fastSPIwrite(c); + fastSPIwrite(c); csHigh(); } diff --git a/src/LOLIN_IL3897.cpp b/src/LOLIN_IL3897.cpp index 1ecbefc..8cb34af 100644 --- a/src/LOLIN_IL3897.cpp +++ b/src/LOLIN_IL3897.cpp @@ -228,7 +228,6 @@ LOLIN_IL3897::LOLIN_IL3897(int width, int height, int8_t DC, int8_t RST, int8_t /**************************************************************************/ void LOLIN_IL3897::begin(bool reset) { - uint8_t buf[5]; LOLIN_EPD::begin(reset); readBusy();