mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-14 09:02:14 +00:00
Remove unnecessary line when disabled
This commit is contained in:
parent
cfb6a1394c
commit
9af4ecf48f
@ -99,7 +99,6 @@ NeighborInfoModule::NeighborInfoModule()
|
|||||||
setIntervalFromNow(35 * 1000);
|
setIntervalFromNow(35 * 1000);
|
||||||
} else {
|
} else {
|
||||||
LOG_DEBUG("NeighborInfoModule is disabled\n");
|
LOG_DEBUG("NeighborInfoModule is disabled\n");
|
||||||
neighborState = meshtastic_NeighborInfo_init_zero;
|
|
||||||
disable();
|
disable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -309,4 +308,4 @@ bool NeighborInfoModule::saveProtoForModule()
|
|||||||
okay &= nodeDB.saveProto(neighborInfoConfigFile, meshtastic_NeighborInfo_size, &meshtastic_NeighborInfo_msg, &neighborState);
|
okay &= nodeDB.saveProto(neighborInfoConfigFile, meshtastic_NeighborInfo_size, &meshtastic_NeighborInfo_msg, &neighborState);
|
||||||
|
|
||||||
return okay;
|
return okay;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user