From 5dd06edd007b870744e4da930d6c953be0e5a538 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Thu, 29 Jan 2026 13:24:10 -0600 Subject: [PATCH] Add ledOff if not defined --- src/configuration.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/configuration.h b/src/configuration.h index 0a0525fe5..45054e421 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -435,6 +435,10 @@ along with this program. If not, see . #define LED_STATE_OFF (LED_STATE_ON ^ 1) #endif +#ifndef ledOff +#define ledOff(pin) pinMode(pin, INPUT) +#endif + // default mapping of pins #if defined(PIN_BUTTON2) && !defined(CANCEL_BUTTON_PIN) #define ALT_BUTTON_PIN PIN_BUTTON2