[CODE] print sleep durations as well

This commit is contained in:
Jannik Beyerstedt 2018-08-08 00:23:10 +02:00
parent 139b14b403
commit fc7c6709ea

View file

@ -296,7 +296,8 @@ void setup() {
} else { // ELSE: sampleCnt < sampleAvgNum } else { // ELSE: sampleCnt < sampleAvgNum
#ifdef PRINT_INFO #ifdef PRINT_INFO
Serial.printf("[INFO ] %d of %d samples collected -> sleep\n", sampleCnt, sampleAvgNum); Serial.printf("[INFO ] %d of %d samples collected -> sleep %4d s\n", sampleCnt, sampleAvgNum,
sampleInterval_sec);
// continue with deep sleep at end of main function // continue with deep sleep at end of main function
#endif #endif