@@ -656,67 +656,67 @@ void Measurements::printCurrentPMAverage(int ch) {
656
656
if (utils::isValidPm (_pm_01[idx].update .avg )) {
657
657
Serial.printf (" [%d] Atmospheric PM 1.0 = %.2f ug/m3\n " , ch, _pm_01[idx].update .avg );
658
658
} else {
659
- Serial.printf (" [%d] Atmospheric PM 1.0 = -\n " );
659
+ Serial.printf (" [%d] Atmospheric PM 1.0 = -\n " , ch );
660
660
}
661
661
if (utils::isValidPm (_pm_25[idx].update .avg )) {
662
662
Serial.printf (" [%d] Atmospheric PM 2.5 = %.2f ug/m3\n " , ch, _pm_25[idx].update .avg );
663
663
} else {
664
- Serial.printf (" [%d] Atmospheric PM 2.5 = -\n " );
664
+ Serial.printf (" [%d] Atmospheric PM 2.5 = -\n " , ch );
665
665
}
666
666
if (utils::isValidPm (_pm_10[idx].update .avg )) {
667
667
Serial.printf (" [%d] Atmospheric PM 10 = %.2f ug/m3\n " , ch, _pm_10[idx].update .avg );
668
668
} else {
669
- Serial.printf (" [%d] Atmospheric PM 10 = -\n " );
669
+ Serial.printf (" [%d] Atmospheric PM 10 = -\n " , ch );
670
670
}
671
671
if (utils::isValidPm (_pm_01_sp[idx].update .avg )) {
672
672
Serial.printf (" [%d] Standard Particle PM 1.0 = %.2f ug/m3\n " , ch, _pm_01_sp[idx].update .avg );
673
673
} else {
674
- Serial.printf (" [%d] Standard Particle PM 1.0 = -\n " );
674
+ Serial.printf (" [%d] Standard Particle PM 1.0 = -\n " , ch );
675
675
}
676
676
if (utils::isValidPm (_pm_25_sp[idx].update .avg )) {
677
677
Serial.printf (" [%d] Standard Particle PM 2.5 = %.2f ug/m3\n " , ch, _pm_25_sp[idx].update .avg );
678
678
} else {
679
- Serial.printf (" [%d] Standard Particle PM 2.5 = -\n " );
679
+ Serial.printf (" [%d] Standard Particle PM 2.5 = -\n " , ch );
680
680
}
681
681
if (utils::isValidPm (_pm_10_sp[idx].update .avg )) {
682
682
Serial.printf (" [%d] Standard Particle PM 10 = %.2f ug/m3\n " , ch, _pm_10_sp[idx].update .avg );
683
683
} else {
684
- Serial.printf (" [%d] Standard Particle PM 10 = -\n " );
684
+ Serial.printf (" [%d] Standard Particle PM 10 = -\n " , ch );
685
685
}
686
686
if (utils::isValidPm03Count (_pm_03_pc[idx].update .avg )) {
687
687
Serial.printf (" [%d] Particle Count 0.3 = %.1f\n " , ch, _pm_03_pc[idx].update .avg );
688
688
} else {
689
- Serial.printf (" [%d] Particle Count 0.3 = -\n " );
689
+ Serial.printf (" [%d] Particle Count 0.3 = -\n " , ch );
690
690
}
691
691
if (utils::isValidPm03Count (_pm_05_pc[idx].update .avg )) {
692
692
Serial.printf (" [%d] Particle Count 0.5 = %.1f\n " , ch, _pm_05_pc[idx].update .avg );
693
693
} else {
694
- Serial.printf (" [%d] Particle Count 0.5 = -\n " );
694
+ Serial.printf (" [%d] Particle Count 0.5 = -\n " , ch );
695
695
}
696
696
if (utils::isValidPm03Count (_pm_01_pc[idx].update .avg )) {
697
697
Serial.printf (" [%d] Particle Count 1.0 = %.1f\n " , ch, _pm_01_pc[idx].update .avg );
698
698
} else {
699
- Serial.printf (" [%d] Particle Count 1.0 = -\n " );
699
+ Serial.printf (" [%d] Particle Count 1.0 = -\n " , ch );
700
700
}
701
701
if (utils::isValidPm03Count (_pm_25_pc[idx].update .avg )) {
702
702
Serial.printf (" [%d] Particle Count 2.5 = %.1f\n " , ch, _pm_25_pc[idx].update .avg );
703
703
} else {
704
- Serial.printf (" [%d] Particle Count 2.5 = -\n " );
704
+ Serial.printf (" [%d] Particle Count 2.5 = -\n " , ch );
705
705
}
706
706
707
707
if (_pm_5_pc[idx].listValues .empty () == false ) {
708
708
if (utils::isValidPm03Count (_pm_5_pc[idx].update .avg )) {
709
709
Serial.printf (" [%d] Particle Count 5.0 = %.1f\n " , ch, _pm_5_pc[idx].update .avg );
710
710
} else {
711
- Serial.printf (" [%d] Particle Count 5.0 = -\n " );
711
+ Serial.printf (" [%d] Particle Count 5.0 = -\n " , ch );
712
712
}
713
713
}
714
714
715
715
if (_pm_10_pc[idx].listValues .empty () == false ) {
716
716
if (utils::isValidPm03Count (_pm_10_pc[idx].update .avg )) {
717
717
Serial.printf (" [%d] Particle Count 10 = %.1f\n " , ch, _pm_10_pc[idx].update .avg );
718
718
} else {
719
- Serial.printf (" [%d] Particle Count 10 = -\n " );
719
+ Serial.printf (" [%d] Particle Count 10 = -\n " , ch );
720
720
}
721
721
}
722
722
}
0 commit comments