InfiniTime.git

commit 9e406c70f95c2db93bbf84965c210ee274da1dd2

Author: Felipe Martínez <pipernene@gmail.com>

Remove unnecessary BMA421 reads

 src/drivers/Bma421.cpp | 7 -------


diff --git a/src/drivers/Bma421.cpp b/src/drivers/Bma421.cpp
index aff62b8df01846b4f0222a57f3eee551f28e3dc2..74d47d06679b0f91a8ae1cc60e33739c3e61d186 100644
--- a/src/drivers/Bma421.cpp
+++ b/src/drivers/Bma421.cpp
@@ -126,13 +126,6 @@
   uint32_t steps = 0;
   bma423_step_counter_output(&steps, &bma);
 
-  int32_t temperature;
-  bma4_get_temperature(&temperature, BMA4_DEG, &bma);
-  temperature = temperature / 1000;
-
-  uint8_t activity = 0;
-  bma423_activity_output(&activity, &bma);
-
   // X and Y axis are swapped because of the way the sensor is mounted in the PineTime
   return {steps, data.y, data.x, data.z};
 }