From 7c92975121fc657011e301c147e31ed5e64db57b Mon Sep 17 00:00:00 2001 From: Todd Herbert Date: Sun, 20 Apr 2025 21:10:57 +1200 Subject: [PATCH] Documentation --- src/graphics/niche/InkHUD/docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/niche/InkHUD/docs/README.md b/src/graphics/niche/InkHUD/docs/README.md index a03c72e0e..c3082add1 100644 --- a/src/graphics/niche/InkHUD/docs/README.md +++ b/src/graphics/niche/InkHUD/docs/README.md @@ -504,7 +504,7 @@ Button input is sometimes handled by a system applet. `InkHUD::Events` determine #### Factory Reset -The Events class handles the admin messages(s) which trigger factory reset. We set `Events::doFactoryReset = true`, which causes `Events::onReboot` to erase the contents of InkHUD's data directory. We do this because some applets (e.g. ThreadedMessageApplet) save their own data to flash, so if we erased earlier, that data would get re-written during reboot. +The Events class handles the admin messages(s) which trigger factory reset. We set `Events::eraseOnReboot = true`, which causes `Events::onReboot` to erase the contents of InkHUD's data directory. We do this because some applets (e.g. ThreadedMessageApplet) save their own data to flash, so if we erased earlier, that data would get re-written during reboot. ---