From 498bea872e2bf56293ed367de25471bec31fd71c Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Sun, 10 Mar 2019 13:35:11 +0100 Subject: [PATCH] no need of going >67 as the code can handle only unsigned long at this time --- lib/rc-switch/RCSwitch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rc-switch/RCSwitch.h b/lib/rc-switch/RCSwitch.h index 5cc698b..3199bf8 100644 --- a/lib/rc-switch/RCSwitch.h +++ b/lib/rc-switch/RCSwitch.h @@ -59,7 +59,7 @@ // Number of maximum high/Low changes per packet. // We can handle up to (unsigned long) => 32 bit * 2 H/L changes per bit + 2 for sync // Для keeloq нужно увеличить RCSWITCH_MAX_CHANGES до 23+1+66*2+1=157 -#define RCSWITCH_MAX_CHANGES 157 // default 67 +#define RCSWITCH_MAX_CHANGES 67 // default 67 class RCSwitch {