@@ -475,19 +475,19 @@ def load_settings():
475
475
#if (sleep_duration>120):
476
476
# print("[SPLASH] Sleep duration set to more than 120 seconds. Forcing 120 seconds.")
477
477
global battery_volt_min
478
- battery_volt_min = badge .nvs_get_u16 ('splash' , 'battery.volt.min ' , 3700 ) # mV
478
+ battery_volt_min = badge .nvs_get_u16 ('splash' , 'batt.vmin ' , 3700 ) # mV
479
479
global battery_volt_max
480
- battery_volt_max = badge .nvs_get_u16 ('splash' , 'battery.volt.max ' , 4200 ) # mV
480
+ battery_volt_max = badge .nvs_get_u16 ('splash' , 'batt.vmax ' , 4200 ) # mV
481
481
global battery_percent_empty
482
- battery_percent_empty = badge .nvs_get_u8 ('splash' , 'battery.percent.empty ' , 1 ) # %
482
+ battery_percent_empty = badge .nvs_get_u8 ('splash' , 'batt.pempty ' , 1 ) # %
483
483
global ntp_timeout
484
484
ntp_timeout = badge .nvs_get_u8 ('splash' , 'ntp.timeout' , 40 ) #amount of tries
485
485
global bpp_after_count
486
486
bpp_after_count = badge .nvs_get_u8 ('splash' , 'bpp.count' , 5 )
487
487
global splash_timer_interval
488
- splash_timer_interval = badge .nvs_get_u16 ('splash' , 'timer .interval' , 200 )
488
+ splash_timer_interval = badge .nvs_get_u16 ('splash' , 'tmr .interval' , 200 )
489
489
global timer_loop_amount
490
- timer_loop_amount = badge .nvs_get_u8 ('splash' , 'timer .amount' , 25 )
490
+ timer_loop_amount = badge .nvs_get_u8 ('splash' , 'tmr .amount' , 25 )
491
491
global loopCnt
492
492
loopCnt = timer_loop_amount
493
493
0 commit comments