mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-07 20:19:25 +00:00
fixed comparison
This commit is contained in:
parent
2dc00eaa76
commit
617297549f
@ -55,7 +55,7 @@ void NodeInfoModule::sendOurNodeInfo(NodeNum dest, bool wantReplies, uint8_t cha
|
|||||||
}
|
}
|
||||||
#ifdef USERPREFS_CONFIG_DISCOVERY_CHANNEL
|
#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 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;
|
p->channel = USERPREFS_CONFIG_DISCOVERY_CHANNEL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user