mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-27 21:20:33 +00:00
8fcfe7f28bc0b9ced86e63da4e588f471ad66ec9
Power::readPowerStatus is called on startup, but AnalogBatteryLevel::getBattVoltage skips the read because 5 seconds have not elapsed since last_read_time_ms, which is initialized to zero. `batMv=3100` is reported because AnalogBatteryLevel::last_read_value is initialized as: ``` float last_read_value = (OCV[NUM_OCV_POINTS - 1] * NUM_CELLS); ```
Meshtastic Firmware
Overview
This repository contains the device firmware for the Meshtastic project.
Stats
Languages
C++
67.2%
C
30.9%
Python
1.1%
Shell
0.3%
Batchfile
0.3%
Other
0.1%