Mode1 Optical Validation

Dependencies:   max32630fthr

Revision:
54:2f19a5a83a62
Parent:
53:034f646141ae
Child:
55:04c9fad147d4
--- a/main.cpp	Thu May 12 22:20:46 2022 +0000
+++ b/main.cpp	Fri May 13 18:02:15 2022 +0000
@@ -438,12 +438,12 @@
             if (heading_printed == 0) {
                 heading_printed = 1;
      #if defined(ALGO_ONLY)
-                pc.printf("hr,hr_conf,r,spo2,spo2_conf,spo2_lo,spo2_unrel,spo2_state,scd,\n\r");
+                pc.printf("hr,hr_conf,r,spo2,spo2_conf,spo2_lo,spo2_mo,spo2_lopi,spo2_unrel,spo2_state,scd,\n\r");
      #endif
             }
             pc.printf("%d,%d,%d", hr, hr_conf, r);
             pc.printf("%d,%d,", spo2, spo2_conf);
-            pc.printf("%d,", spo2_lo);
+            pc.printf("%d,%d,", spo2_lo,spo2_mo);
             pc.printf("%d,%d,%d,%d", spo2_lopi,spo2_unrel, spo2_state, scd);
   #endif
 #endif // #if defined(PCK_CFG_MASK)
@@ -490,12 +490,12 @@
             if (heading_printed == 0) {
                 heading_printed = 1;
 #if defined(ALGO_ONLY)
-                pc.printf("hr,hr_conf,r,spo2,spo2_conf,spo2_lo,spo2_unrel,spo2_state,scd,\n\r");
+                pc.printf("hr,hr_conf,r,spo2,spo2_conf,spo2_lo,spo2_mo,spo2_lopi,spo2_unrel,spo2_state,scd,\n\r");
 #endif
             }
             pc.printf("%d,%d,%d,", hr, hr_conf, r);
             pc.printf("%d,%d,", spo2, spo2_conf);
-            pc.printf("%d,", spo2_lo);
+            pc.printf("%d,%d,", spo2_lo,spo2_mo);
             pc.printf("%d,%d,%d,%d,", spo2_lopi,spo2_unrel,spo2_state, scd);
 #endif
 #endif  // end normal algo size