Skip to content

Commit 86e35a7

Browse files
committed
Ugh fuking battery indicator
1 parent 158af3f commit 86e35a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp32/modules/splash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def checkFirstBoot():
217217
if badge.battery_charge_status() == False and badge.usb_volt_sense() > 4500 and badge.battery_volt_sense() > 2500:
218218
badge.nvs_set_u16('splash', 'bat.volt.drop', 5200 - badge.battery_volt_sense()) # mV
219219
print('Set vDrop to: ' + str(4200 - badge.battery_volt_sense()))
220-
vDrop = badge.nvs_get_u16('splash', 'bat.volt.drop', 0) - 1000 # mV
220+
vDrop = badge.nvs_get_u16('splash', 'bat.volt.drop', 1000) - 1000 # mV
221221

222222
inputInit()
223223
magic = 0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy