diff --git a/RFM69_OTA.cpp b/RFM69_OTA.cpp index 25aef58..975b1f2 100644 --- a/RFM69_OTA.cpp +++ b/RFM69_OTA.cpp @@ -488,12 +488,12 @@ uint8_t sendHEXPacket(RFM69& radio, uint8_t targetID, uint8_t* sendBuf, uint8_t long now = millis(); while(1) { - if (DEBUG) { Serial.print(F("RFTX > ")); PrintHex83(sendBuf, hexDataLen); } + if (DEBUG) { Serial.print(F("RFTX > ")); PrintHex83(sendBuf, hexDataLen); Serial.println(); } if (radio.sendWithRetry(targetID, sendBuf, hexDataLen, 2, ACKTIMEOUT)) { uint8_t ackLen = radio.DATALEN; - if (DEBUG) { Serial.print(F("RFACK > ")); Serial.print(ackLen); Serial.print(F(" > ")); PrintHex83((uint8_t*)radio.DATA, ackLen); } + if (DEBUG) { Serial.print(F("RFACK > ")); Serial.print(ackLen); Serial.print(F(" > ")); PrintHex83((uint8_t*)radio.DATA, ackLen); Serial.println(); } if (ackLen >= 8 && radio.DATA[0]=='F' && radio.DATA[1]=='L' && radio.DATA[2]=='X' && radio.DATA[3]==':' && radio.DATA[ackLen-3]==':' &&