From 741302e7bd8abac1cd1e0114561fd1ae12076b1d Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Sun, 23 Aug 2020 11:57:04 +0300 Subject: [PATCH] fix webui flags --- code/espurna/rfbridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/rfbridge.cpp b/code/espurna/rfbridge.cpp index b8b1a24d..7abe4fb9 100644 --- a/code/espurna/rfbridge.cpp +++ b/code/espurna/rfbridge.cpp @@ -336,7 +336,7 @@ void _rfbWebSocketOnVisible(JsonObject& root) { void _rfbWebSocketOnConnected(JsonObject& root) { root["rfbRepeat"] = getSetting("rfbRepeat", RFB_SEND_TIMES); root["rfbCount"] = relayCount(); - #if RFB_DIRECT + #if RFB_PROVIDER == RFB_PROVIDER_RCSWITCH root["rfbdirectVisible"] = 1; root["rfbRX"] = getSetting("rfbRX", RFB_RX_PIN); root["rfbTX"] = getSetting("rfbTX", RFB_TX_PIN);