Remove footer validation for fujitsu_general (#2196)

This commit is contained in:
Marcio Granzotto Rodrigues 2021-08-30 15:03:30 -03:00 committed by GitHub
parent f923ba87c0
commit 9218e85bd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -297,12 +297,6 @@ bool FujitsuGeneralClimate::on_receive(remote_base::RemoteReceiveData data) {
}
}
// Validate footer
if (!data.expect_mark(FUJITSU_GENERAL_BIT_MARK)) {
ESP_LOGV(TAG, "Footer fail");
return false;
}
for (uint8_t byte = 0; byte < recv_message_length; ++byte) {
ESP_LOGVV(TAG, "%02X", recv_message[byte]);
}