From 98792f0c05b303c5046d414ab03ed9f7b8dd5ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Fri, 25 Mar 2022 12:52:11 +0100 Subject: [PATCH] fix option name --- src/ButtonThread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ButtonThread.h b/src/ButtonThread.h index a1b687095..cf5885abc 100644 --- a/src/ButtonThread.h +++ b/src/ButtonThread.h @@ -148,7 +148,7 @@ class ButtonThread : public concurrency::OSThread { // DEBUG_MSG("press!\n"); #ifdef BUTTON_PIN - if ((BUTTON_PIN != radioConfig.preferences.rotary1_pin_press) || !radioConfig.preferences.canned_message_module_enabled) { + if ((BUTTON_PIN != radioConfig.preferences.inputbroker_pin_press) || !radioConfig.preferences.canned_message_module_enabled) { powerFSM.trigger(EVENT_PRESS); } #endif