app critics will say it's money, cash, toes

Revision:
5:c75ea8bfa9fb
Parent:
4:af0530752b76
Child:
6:887df9bbe705
diff -r af0530752b76 -r c75ea8bfa9fb source/main.cpp
--- a/source/main.cpp	Sun Oct 28 15:38:10 2018 +0000
+++ b/source/main.cpp	Tue Oct 30 14:54:24 2018 +0000
@@ -29,7 +29,8 @@
 static const uint16_t uuid16_list[] = {GattService::UUID_HEART_RATE_SERVICE};
 
 int16_t destination[3];
-uint8_t hrmCounter = 0;
+//uint8_t hrmCounter = 0;
+int16_t hrmCounter = 0;
 static HeartRateService* hrService;
 //MPU9250 mpu = MPU9250(p26, p27);
 MPU9250 mpu = MPU9250(P0_26, P0_27);
@@ -45,7 +46,7 @@
        
     mpu.readAccelData(destination);
     
-    uint8_t acc_x = destination[0];
+    int16_t acc_x = destination[0];
     uint8_t acc_y = destination[1];
     uint8_t acc_z = destination[2];