From 556fffe26a610fa6b4f78f5cd4817cd39ec07b8b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 3 Jun 2019 09:49:33 +0200 Subject: [PATCH] Fix possible compile error when users disable some features Fix possible compile error when users disable some features (#5906) --- sonoff/settings.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonoff/settings.ino b/sonoff/settings.ino index f2bf1290e..4e7af0d4e 100644 --- a/sonoff/settings.ino +++ b/sonoff/settings.ino @@ -119,6 +119,9 @@ #ifndef COLOR_TIMER_TAB_BACKGROUND #define COLOR_TIMER_TAB_BACKGROUND "#999" // Config timer tab background color - Light grey #endif +#ifndef IR_RCV_MIN_UNKNOWN_SIZE +#define IR_RCV_MIN_UNKNOWN_SIZE 6 // Set the smallest sized "UNKNOWN" message packets we actually care about (default 6, max 255) +#endif enum WebColors { COL_TEXT, COL_BACKGROUND, COL_FORM,