diff --git a/RFM69.cpp b/RFM69.cpp index 9b35371..e34a602 100644 --- a/RFM69.cpp +++ b/RFM69.cpp @@ -474,7 +474,7 @@ byte RFM69::readTemperature(byte calFactor) //returns centigrade { setMode(RF69_MODE_STANDBY); writeReg(REG_TEMP1, RF_TEMP1_MEAS_START); - while ((readReg(REG_TEMP1) & RF_TEMP1_MEAS_RUNNING)) Serial.print('*'); + while ((readReg(REG_TEMP1) & RF_TEMP1_MEAS_RUNNING)); return ~readReg(REG_TEMP2) + COURSE_TEMP_COEF + calFactor; //'complement'corrects the slope, rising temp = rising val } // COURSE_TEMP_COEF puts reading in the ballpark, user can add additional correction @@ -482,4 +482,4 @@ void RFM69::rcCalibration() { writeReg(REG_OSC1, RF_OSC1_RCCAL_START); while ((readReg(REG_OSC1) & RF_OSC1_RCCAL_DONE) == 0x00); -} \ No newline at end of file +}