Remove unnecessary line when disabled

This commit is contained in:
GUVWAF 2023-09-05 21:42:39 +02:00
parent cfb6a1394c
commit 9af4ecf48f

View File

@ -99,7 +99,6 @@ NeighborInfoModule::NeighborInfoModule()
setIntervalFromNow(35 * 1000);
} else {
LOG_DEBUG("NeighborInfoModule is disabled\n");
neighborState = meshtastic_NeighborInfo_init_zero;
disable();
}
}
@ -309,4 +308,4 @@ bool NeighborInfoModule::saveProtoForModule()
okay &= nodeDB.saveProto(neighborInfoConfigFile, meshtastic_NeighborInfo_size, &meshtastic_NeighborInfo_msg, &neighborState);
return okay;
}
}