From e45d0ec2698762101b58d447baf313f4153f97fa Mon Sep 17 00:00:00 2001 From: GOB Date: Mon, 16 Sep 2024 16:57:58 +0900 Subject: [PATCH] Cosmetic change --- src/unit/unit_ADS1115.hpp | 4 ++-- src/unit/unit_ADS111x.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/unit/unit_ADS1115.hpp b/src/unit/unit_ADS1115.hpp index 5387bd6..61f3dc0 100644 --- a/src/unit/unit_ADS1115.hpp +++ b/src/unit/unit_ADS1115.hpp @@ -73,8 +73,8 @@ class UnitAVmeterBase : public UnitADS1115 { virtual ~UnitAVmeterBase() { } - virtual bool begin(); - + virtual bool begin() override; + inline float calibrationFactor() const { return _calibrationFactor; } diff --git a/src/unit/unit_ADS111x.hpp b/src/unit/unit_ADS111x.hpp index 6f6c59c..b57795b 100644 --- a/src/unit/unit_ADS111x.hpp +++ b/src/unit/unit_ADS111x.hpp @@ -245,7 +245,7 @@ class UnitADS111x : public Component, public PeriodicMeasurementAdapter