Heltec Board is deep discharging batteries?

Trying to solve it out and make battery monitoring to work with heltec. According to this discussion Manufacturer changed reading voltage pin to 37. I was trying to compile heltec firmware with added battery_pin 37 but unfortunately after upload with platformIO i get this error Guru Meditation Error: Core 1 panic’ed (LoadProhibited) and device is keep restarting in loop. Here is also example of voltage calculating for heltec.
Anyway thanks in advance for any tips and thank you for your grate work!
Take care!

2 Likes