mirror of
https://github.com/meshtastic/firmware.git
synced 2026-02-01 19:21:11 -05: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.1%
C
30.8%
Python
1.3%
Shell
0.3%
Batchfile
0.3%
Other
0.1%