Skip to content

Commit f2bf8b9

Browse files
committed
Increase rcswitch H/L changes to 64 bits
1 parent 549ca6e commit f2bf8b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/lib_rf/rc-switch/src/RCSwitch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
// Number of maximum high/Low changes per packet.
6060
// We can handle up to 36 bit * 2 H/L changes per bit + 2 for sync
6161
// Для keeloq нужно увеличить RCSWITCH_MAX_CHANGES до 23+1+66*2+1=157
62-
#define RCSWITCH_MAX_CHANGES 75 // default 75 - longest protocol that requires this buffer size is 38/nexus
62+
//#define RCSWITCH_MAX_CHANGES 75 // default 75 - longest protocol that requires this buffer size is 38/nexus
63+
#define RCSWITCH_MAX_CHANGES 131 // default 75 - Supports 64 too
6364

6465
// separationLimit: minimum microseconds between received codes, closer codes are ignored.
6566
// according to discussion on issue #14 it might be more suitable to set the separation

0 commit comments

Comments
 (0)