mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 01:42:15 +00:00
Meshtastic device firmware
![]() Define BATTERY_SENSE_RESOLUTION_BITS based on [amoroz's snippet on the Meshtastic forum](https://meshtastic.discourse.group/t/new-1w-diy-variant-xiao-nrf52840-ebyte-e22-900m30s/7904/10). Fixes following build error: ``` src/Power.cpp: In member function 'virtual uint16_t AnalogBatteryLevel::getBattVoltage()': src/Power.cpp:224:79: error: 'BATTERY_SENSE_RESOLUTION_BITS' was not declared in this scope scaled = operativeAdcMultiplier * ((1000 * AREF_VOLTAGE) / pow(2, BATTERY_SENSE_RESOLUTION_BITS)) * raw; ``` Signed-off-by: Andrew Yong <me@ndoo.sg> |
||
---|---|---|
.github | ||
.trunk | ||
.vscode | ||
arch | ||
bin | ||
boards | ||
data/static | ||
images | ||
monitor | ||
protobufs@86640f20db | ||
release | ||
src | ||
variants | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.semgrepignore | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
partition-table.csv | ||
platformio.ini | ||
README.md | ||
suppressions.txt | ||
version.properties |
Meshtastic Firmware
Overview
This repository contains the device firmware for the Meshtastic project.