Update RFM69.cpp

This commit is contained in:
Felix Rusu 2015-08-22 22:13:20 -04:00
parent 48476fbc16
commit 9de0c3ba9d
1 changed files with 2 additions and 4 deletions

View File

@ -481,9 +481,7 @@ void RFM69::setCS(uint8_t newSPISlaveSelect) {
} }
//for debugging //for debugging
#define REGISTER_DETAIL 0
#define REGISTER_DETAIL 1
#if REGISTER_DETAIL #if REGISTER_DETAIL
// SERIAL PRINT // SERIAL PRINT
// replace Serial.print("string") with SerialPrint("string") // replace Serial.print("string") with SerialPrint("string")
@ -511,7 +509,7 @@ void RFM69::readAllRegs()
long freqCenter = 0; long freqCenter = 0;
#endif #endif
SerialPrint ( "Address - HEX - BIN\n" ); Serial.println("Address - HEX - BIN");
for (uint8_t regAddr = 1; regAddr <= 0x4F; regAddr++) for (uint8_t regAddr = 1; regAddr <= 0x4F; regAddr++)
{ {
select(); select();