From 20334d1c9703d6a5f8ebf9d1f7121d124876c88c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Fri, 1 Dec 2017 23:51:54 +0100 Subject: [PATCH] Allow to define just ON or OFF codes in rfbridge (#304) --- code/espurna/rfbridge.ino | 42 +++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/code/espurna/rfbridge.ino b/code/espurna/rfbridge.ino index c5127a39..2c281973 100644 --- a/code/espurna/rfbridge.ino +++ b/code/espurna/rfbridge.ino @@ -160,32 +160,36 @@ void _rfbDecode() { unsigned char id; unsigned char status = 0; bool found = false; + for (id=0; id