Skip to content

Commit 293cc35

Browse files
committed
Battery screen on boot can now be disabled
1 parent f2c01ca commit 293cc35

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ Thanks to these great people for supporting this project.
144144

145145
<!-- ** WORK IN PROGRESS ** -->
146146

147+
### 2.5.4 (2025-03-23) ** WORK IN PROGRESS **
148+
149+
- (foorschtbar) Battery screen on boot can now be disabled
150+
147151
### 2.5.3 (2024-10-09)
148152

149153
- (foorschtbar) Fixed ESP32 Battery Pin Definition

src/PixelIt.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,6 +1863,9 @@ String GetConfig()
18631863
DynamicJsonBuffer jsonBuffer;
18641864
JsonObject &root = jsonBuffer.parseObject(buf.get());
18651865

1866+
// add current vbat pin to show button on webinterface or not
1867+
root["showBatteryBtn"] = VBAT_PIN > 0 ? true : false;
1868+
18661869
String json;
18671870
root.printTo(json);
18681871

0 commit comments

Comments
 (0)