From 215061d7212eb8dd12cb3526037e556be018dcf0 Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Tue, 4 Jan 2022 21:16:33 +0100 Subject: [PATCH] Added saving boot-battery-wh --- main/battery.cpp | 1 + main/battery.h | 1 + 2 files changed, 2 insertions(+) diff --git a/main/battery.cpp b/main/battery.cpp index 3de7a8b..df1f24f 100644 --- a/main/battery.cpp +++ b/main/battery.cpp @@ -197,4 +197,5 @@ std::string getBatteryDebugString() namespace battery { std::optional bootBatPercentage; +std::optional bootBatWh; } diff --git a/main/battery.h b/main/battery.h index e17ff06..466a97f 100644 --- a/main/battery.h +++ b/main/battery.h @@ -35,4 +35,5 @@ float getTarget_mAh(); namespace battery { extern std::optional bootBatPercentage; +extern std::optional bootBatWh; }