From bf1bdc34bb5cbae52c75fe07007f68369d1f0b7e Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Wed, 20 Nov 2024 14:04:35 +0100 Subject: [PATCH] Fix: onNewVoltage: Unit is "mV" --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 44e6919..3a843d3 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -647,7 +647,7 @@ void ATBDeviceControllerPlugin::onNewVoltage(uint32_t voltage) json = JSON::objectBuilder() ->set("Name", "batt") ->set("Value", voltageString) - ->set("Unit", "V") + ->set("Unit", "mV") ->create();