From 888115e0b908f307ded8889438f41bf1650c598b Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sat, 27 Sep 2025 06:10:04 -0500 Subject: [PATCH] Revert "Update src/mesh/udp/UdpMulticastHandler.h" This reverts commit 2b590d23004ee26dd8283d4109656353187552df. --- src/mesh/udp/UdpMulticastHandler.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mesh/udp/UdpMulticastHandler.h b/src/mesh/udp/UdpMulticastHandler.h index 897c2eb47..0a27a316e 100644 --- a/src/mesh/udp/UdpMulticastHandler.h +++ b/src/mesh/udp/UdpMulticastHandler.h @@ -78,11 +78,6 @@ class UdpMulticastHandler final if (!mp || !udp) { return false; } - // Validate channel index before accessing - if (chIndex < 0 || chIndex >= channels.size()) { - LOG_ERROR("Invalid channel index %d in UDP onSend", chIndex); - return false; - } // Check if uplink is enabled for this specific channel auto &ch = channels.getByIndex(chIndex); if (!ch.settings.uplink_enabled) {