Remove dead functions and unused Montserrat font flags

Six public API functions had no callers anywhere in the firmware:
splash_prev, splash_set_active, splash_current_name, splash_count,
ble_is_connected, imu_set_rotation, power_is_usb_connected,
power_usb_changed. Trimming them lets power.cpp drop the VBUS state
machine (cached_usb, usb_changed_flag, last_vbus_ms,
enableVbusVoltageMeasure). usage_rate_reset becomes file-static since
the only caller is in usage_rate.cpp itself. Montserrat font flags in
platformio.ini were enabled but never referenced.
This commit is contained in:
Hermann Björgvin Haraldsson
2026-05-11 02:19:45 +00:00
parent 7ed4710d28
commit f1feacb3dc
10 changed files with 5 additions and 84 deletions
-3
View File
@@ -10,6 +10,3 @@ void usage_rate_sample(float session_pct);
// 0 = idle, 1 = normal, 2 = active, 3 = heavy.
// Defaults to 0 when the buffer doesn't have enough samples yet.
int usage_rate_group(void);
// Clear the buffer (e.g. when the 5-hour session window resets).
void usage_rate_reset(void);