From 07939ad70fb9360c0e7897bf11fa328a77455d87 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Thu, 27 Jul 2023 18:36:40 +0200 Subject: [PATCH] add missing constant for 8266 --- wled00/remote.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wled00/remote.cpp b/wled00/remote.cpp index 863e72ec..9e70ef5d 100644 --- a/wled00/remote.cpp +++ b/wled00/remote.cpp @@ -21,6 +21,10 @@ void handleRemote(){} #else +#if !defined(ARDUINO_ARCH_ESP32) && !defined(ESP_OK) +#define ESP_OK 0 // add missing constant for stupid esp8266 +#endif + // This is kind of an esoteric strucure because it's pulled from the "Wizmote" // product spec. That remote is used as the baseline for behavior and availability // since it's broadly commercially available and works out of the box as a drop-in