fix: Bluetooth switched off stays off over a reboot or hibernate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-06 14:09:22 +02:00
co-authored by Claude Opus 5.5
parent 50d0d5577b
commit 5a92d36509
5 changed files with 15 additions and 3 deletions
+1
View File
@@ -332,6 +332,7 @@ static void sanitize(NodePrefs& p) {
if (p.quiet_to > 23) p.quiet_to = 7;
if (!battery::validCurve(p.batt_curve_mv)) memset(p.batt_curve_mv, 0, sizeof(p.batt_curve_mv));
flag(p.lock_compact, 0);
flag(p.ble_off, 0);
}
// The settings a firmware before 2.0 kept in /new_prefs that still matter