Skip to content

Commit 156f8d4

Browse files
committed
fixed up #275
1 parent 4c95a95 commit 156f8d4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Adafruit_MonoOLED.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,5 +399,4 @@ void Adafruit_MonoOLED::setContrast(uint8_t level) {
399399
oled_commandList(cmd, 2);
400400
}
401401

402-
403402
#endif /* ATTIN85 not supported */

Adafruit_SPITFT.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,10 @@ void Adafruit_SPITFT::writePixels(uint16_t *colors, uint32_t len, bool block,
982982
if (!len)
983983
return; // Avoid 0-byte transfers
984984

985+
// avoid paramater-not-used complaints
986+
(void)block;
987+
(void)bigEndian;
988+
985989
#if defined(ESP32) // ESP32 has a special SPI pixel-writing function...
986990
if (connection == TFT_HARD_SPI) {
987991
hwspi._spi->writePixels(colors, len * 2);

0 commit comments

Comments
 (0)