remove support for 8bit nodenums

This commit is contained in:
Kevin Hester
2020-11-28 09:56:21 +08:00
parent f5e42b2533
commit ddab4a0235
3 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,8 @@ const MeshPacket *MeshService::handleFromRadioUser(const MeshPacket *mp)
bool wasBroadcast = mp->to == NODENUM_BROADCAST;
// Disable this collision testing if we use 32 bit nodenums
bool isCollision = (sizeof(NodeNum) == 1) && (mp->from == myNodeInfo.my_node_num);
// (We do this always now, because we don't use 8 bit nodenums since 0.6 ish)
bool isCollision = false; // (sizeof(NodeNum) == 1) && (mp->from == myNodeInfo.my_node_num);
if (isCollision) {
// we win if we have a lower macaddr