feat(battery): round bat_v and derive bat_pct locally

This commit is contained in:
2026-01-20 22:58:56 +01:00
parent cfbab84f97
commit 8c9520f7e5
6 changed files with 53 additions and 16 deletions

View File

@@ -164,7 +164,7 @@ void loop() {
display_tick();
delay(50);
} else {
test_receiver_loop(g_sender_statuses, NUM_SENDERS);
test_receiver_loop(g_sender_statuses, NUM_SENDERS, g_short_id);
mqtt_loop();
web_server_loop();
display_set_receiver_status(g_ap_mode, wifi_is_connected() ? wifi_get_ssid().c_str() : "AP", mqtt_is_connected());