From d131f2c2353ae6efef76857a4d4a6cc7a32f0152 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Fri, 10 Jul 2026 13:11:56 +0200 Subject: [PATCH] Use FORCE_WAIT_BUTTON to override button wait. Signed-off-by: Pol Henarejos --- src/rescue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rescue.c b/src/rescue.c index 8af2f48..57f852a 100644 --- a/src/rescue.c +++ b/src/rescue.c @@ -207,7 +207,9 @@ static bool rescue_require_user_presence(void) { return true; #else bool previous_force = force_button_wait; +#ifdef FORCE_WAIT_BUTTON force_button_wait = true; +#endif int ret = button_wait(); force_button_wait = previous_force; return ret == 0;