mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Battery sense for T-Echo
Copied battery stuff from RAK4631 to T-Echo I got the voltage divider figures for T_Echo from SoftRF at https://github.com/lyusupov/SoftRF/blob/master/software/firmware/source/SoftRF/src/platform/nRF52.h I dont have a T-Echo so this code HAS NOT BEEN TESTED
This commit is contained in:
@@ -299,7 +299,7 @@ void PowerFSM_setup()
|
||||
// On most boards we use light-sleep to be our main state, but on NRF52 we just stay in DARK
|
||||
State *lowPowerState = &stateLS;
|
||||
|
||||
auto meshSds = 0;
|
||||
uint32_t meshSds = 0;
|
||||
|
||||
#ifndef NRF52_SERIES
|
||||
// We never enter light-sleep or NB states on NRF52 (because the CPU uses so little power normally)
|
||||
|
||||
Reference in New Issue
Block a user