[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
1 changed files with 2 additions and 1 deletions

View File

@ -296,7 +296,8 @@ void setup() {
} else { // ELSE: sampleCnt < sampleAvgNum
#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
#endif