ECE 4180 Final Project

Dependencies:   mbed PulseSensor mbed-rtos LSM9DS1_Library_cal

Revision:
9:dcbd546412ea
Parent:
8:2d43385e7784
--- a/stepcounter.cpp	Thu Dec 02 00:58:37 2021 +0000
+++ b/stepcounter.cpp	Thu Dec 02 18:46:01 2021 +0000
@@ -110,7 +110,7 @@
 /* the most active axis */
  char is_most_active(peak_value_t *peak)
 {
-    char res = MOST_NULL;
+    char res = MOST_ACTIVE_NULL;
     short x_change = ABS((peak->newmax.x - peak->newmin.x));
     short y_change = ABS((peak->newmax.y - peak->newmin.y));
     short z_change = ABS((peak->newmax.z - peak->newmin.z));