fix incorrect spacing for debug prints

This commit is contained in:
lady ada 2020-05-16 00:15:52 -04:00
parent c865dc12a5
commit 82f5ba5ecf
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ bool Adafruit_SPIDevice::write(uint8_t *buffer, size_t len,
DEBUG_SERIAL.print(F("0x")); DEBUG_SERIAL.print(F("0x"));
DEBUG_SERIAL.print(buffer[i], HEX); DEBUG_SERIAL.print(buffer[i], HEX);
DEBUG_SERIAL.print(F(", ")); DEBUG_SERIAL.print(F(", "));
if (len % 32 == 31) { if (i % 32 == 31) {
DEBUG_SERIAL.println(); DEBUG_SERIAL.println();
} }
} }