From 82f5ba5ecfb2b4e4cc08403598bae00fed5023a6 Mon Sep 17 00:00:00 2001 From: lady ada Date: Sat, 16 May 2020 00:15:52 -0400 Subject: [PATCH] fix incorrect spacing for debug prints --- Adafruit_SPIDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_SPIDevice.cpp b/Adafruit_SPIDevice.cpp index a2b66a0..821c463 100644 --- a/Adafruit_SPIDevice.cpp +++ b/Adafruit_SPIDevice.cpp @@ -215,7 +215,7 @@ bool Adafruit_SPIDevice::write(uint8_t *buffer, size_t len, DEBUG_SERIAL.print(F("0x")); DEBUG_SERIAL.print(buffer[i], HEX); DEBUG_SERIAL.print(F(", ")); - if (len % 32 == 31) { + if (i % 32 == 31) { DEBUG_SERIAL.println(); } }