diff --git a/Protocols/Protocols.c b/Protocols/Protocols.c index 78bd200..019fa42 100644 --- a/Protocols/Protocols.c +++ b/Protocols/Protocols.c @@ -3,7 +3,7 @@ * * 🛡️ 🃞 * - * Copyright © 2016-2025 Joseph P. Kearney and the KTag developers. + * Copyright © 2016-2026 Joseph P. Kearney and the KTag developers. * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free @@ -250,7 +250,7 @@ DecodedPacket_T *PROTOCOLS_MaybeDecodePacket(TimedPulseTrain_T *packet) if (result != NULL) { // Many NEC remotes repeat packets when the button is held down. - // Too avoid double-counting, endure 500ms of silence between packets. + // Too avoid double-counting, ensure 500ms of silence between packets. static TickType_t lastPacketTime = 0; const TickType_t minimumInterval = pdMS_TO_TICKS(500); @@ -329,11 +329,6 @@ DecodedPacket_T *PROTOCOLS_MaybeDecodePacket(TimedPulseTrain_T *packet) } #ifdef DEBUG_PACKET_DECODE - -#ifdef ESP_PLATFORM - esp_log_level_set(KLOG_TAG, ESP_LOG_DEBUG); -#endif // ESP_PLATFORM - if (result != NULL) { KLOG_DEBUG(KLOG_TAG, "Successfully decoded packet as %s: %s", DecodedPacketTypeAsString(result->Generic.type), ProtocolNameAsString(result->Generic.protocol));