We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 158af3f commit 86e35a7Copy full SHA for 86e35a7
esp32/modules/splash.py
@@ -217,7 +217,7 @@ def checkFirstBoot():
217
if badge.battery_charge_status() == False and badge.usb_volt_sense() > 4500 and badge.battery_volt_sense() > 2500:
218
badge.nvs_set_u16('splash', 'bat.volt.drop', 5200 - badge.battery_volt_sense()) # mV
219
print('Set vDrop to: ' + str(4200 - badge.battery_volt_sense()))
220
-vDrop = badge.nvs_get_u16('splash', 'bat.volt.drop', 0) - 1000 # mV
+vDrop = badge.nvs_get_u16('splash', 'bat.volt.drop', 1000) - 1000 # mV
221
222
inputInit()
223
magic = 0
0 commit comments