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
-5
View File
@@ -232,8 +232,3 @@ void ble_keyboard_release(void) {
input_kbd->setValue(report, sizeof(report));
input_kbd->notify();
}
bool ble_is_connected(void) {
return state == BLE_STATE_CONNECTED;
}