mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
Revert "Update src/mesh/udp/UdpMulticastHandler.h"
This reverts commit 2b590d2300.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user