fix: add battery reporting toggle for Heltec V3 and clean up VS Code metadata

Этот коммит содержится в:
Jared Dohrman
2026-04-11 18:14:30 +10:00
родитель 6680e53ef5
Коммит 4f4964e454
11 изменённых файлов: 160 добавлений и 7 удалений
+2
Просмотреть файл
@@ -631,6 +631,7 @@ MyMesh::MyMesh(mesh::MainBoard &board, mesh::Radio &radio, mesh::MillisecondCloc
_prefs.gps_enabled = 0;
_prefs.gps_interval = 0;
_prefs.advert_loc_policy = ADVERT_LOC_PREFS;
_prefs.battery_reporting_enabled = 1;
next_post_idx = 0;
next_client_idx = 0;
@@ -654,6 +655,7 @@ void MyMesh::begin(FILESYSTEM *fs) {
updateFloodAdvertTimer();
board.setAdcMultiplier(_prefs.adc_multiplier);
board.setBatteryReporting(_prefs.battery_reporting_enabled);
#if ENV_INCLUDE_GPS == 1
applyGpsPrefs();