fixed comparison

This commit is contained in:
medentem 2024-12-15 15:36:13 -06:00
parent 2dc00eaa76
commit 617297549f

View File

@ -55,7 +55,7 @@ void NodeInfoModule::sendOurNodeInfo(NodeNum dest, bool wantReplies, uint8_t cha
}
#ifdef USERPREFS_CONFIG_DISCOVERY_CHANNEL
// If this is a broadcast over the default channel, we can safely change this to the discovery channel if defined
if (dest === NODENUM_BROADCAST && channel === 0) {
if (dest == NODENUM_BROADCAST && channel == 0) {
p->channel = USERPREFS_CONFIG_DISCOVERY_CHANNEL;
}
#endif