Remove Keeloq 64/66 conversion code (#23615)

This commit is contained in:
Arnie97 2025-07-05 21:20:31 +08:00 committed by GitHub
parent 99b73aaaf8
commit 39013e4f7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);