summaryrefslogtreecommitdiff
path: root/src/components/battery
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-06-25 00:39:50 +0300
committerAvamander <avamander@gmail.com>2021-12-04 22:03:40 +0200
commitb6e9e4171d3ecb417b7fbae61285474036542508 (patch)
treea392bcd58d579db9d5595ae4859f1bb30a8cc179 /src/components/battery
parent4b2dcbb4f053a89faab50c03083c71fabf9f288a (diff)
Switched to non-deprecated math header
Diffstat (limited to 'src/components/battery')
-rw-r--r--src/components/battery/BatteryController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/battery/BatteryController.cpp b/src/components/battery/BatteryController.cpp
index c875cb8d..300d0978 100644
--- a/src/components/battery/BatteryController.cpp
+++ b/src/components/battery/BatteryController.cpp
@@ -3,6 +3,7 @@
#include <hal/nrf_gpio.h>
#include <nrfx_saadc.h>
#include <algorithm>
+#include <cmath>
using namespace Pinetime::Controllers;