Improve status messages on self-test finish. (#1086)

* Improve status messages on self-test finish.

This doesn't change the logic, but does change the messaging to the user, mainly on a failed self-test which was started by pressing the BOOT button on start-up.

Also moved display logic into self-test for clarity.

Fixes #1076

* Missed some renamed variable

* Improve wording

* Wait on boot button is only for failed factory self-test

* Add logging line

* Call nvs_commit before esp_restart

* More logging

* Test boot button after factory self-test check
This commit is contained in:
mutatrum
2025-06-27 17:58:14 +02:00
committed by GitHub
parent c9cca926d5
commit 6711078839
7 changed files with 99 additions and 72 deletions

View File

@@ -47,5 +47,5 @@ DS4432U,data,u16,0
INA260,data,u16,0
# TPS546 (0,1)
TPS546,data,u16,1
# Self Test Power Consumption Target (> 0)
# Self-test Power Consumption Target (> 0)
power_cons_tgt,data,u16,12