summaryrefslogtreecommitdiff
path: root/src/sensor/sensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensor/sensor.cpp')
-rw-r--r--src/sensor/sensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensor/sensor.cpp b/src/sensor/sensor.cpp
index 4d7f256..af25a96 100644
--- a/src/sensor/sensor.cpp
+++ b/src/sensor/sensor.cpp
@@ -40,7 +40,7 @@ bool Sensor::isConnected() noexcept
bool Sensor::read() noexcept
{
- auto now = time_now();
+ auto now = common::time_now();
if (_throttle_enabled && now.diff(_last_time).millisecs() < _throttle_time)
{