From 39013e4f7ba56935e531ba6080752ee6f93d0d4c Mon Sep 17 00:00:00 2001 From: Arnie97 Date: Sat, 5 Jul 2025 21:20:31 +0800 Subject: [PATCH] Remove Keeloq 64/66 conversion code (#23615) --- lib/lib_rf/rc-switch/src/RCSwitch.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/lib_rf/rc-switch/src/RCSwitch.cpp b/lib/lib_rf/rc-switch/src/RCSwitch.cpp index 4f3940e81..01e8dcb0a 100644 --- a/lib/lib_rf/rc-switch/src/RCSwitch.cpp +++ b/lib/lib_rf/rc-switch/src/RCSwitch.cpp @@ -658,17 +658,6 @@ void RCSwitch::send(unsigned long long code, unsigned int length) { else this->transmit(protocol.zero); } - // for kilok, there should be a duration of 66, and 64 significant data codes are stored - // send two more bits for even count - if (length == 64) { - if (nRepeat == 0) { - this->transmit(protocol.zero); - this->transmit(protocol.zero); - } else { - this->transmit(protocol.one); - this->transmit(protocol.one); - } - } // Set the guard Time if (protocol.Guard > 0) { digitalWrite(this->nTransmitterPin, LOW);