mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 17:32:18 +00:00
Fix warning about init order (#2725)
This commit is contained in:
parent
03fe4c629a
commit
91eb64d7b7
@ -88,9 +88,9 @@ void NeighborInfoModule::printNodeDBSelection(const char *header, const meshtast
|
|||||||
|
|
||||||
/* Send our initial owner announcement 35 seconds after we start (to give network time to setup) */
|
/* Send our initial owner announcement 35 seconds after we start (to give network time to setup) */
|
||||||
NeighborInfoModule::NeighborInfoModule()
|
NeighborInfoModule::NeighborInfoModule()
|
||||||
: neighbors(neighborState.neighbors), numNeighbors(&neighborState.neighbors_count),
|
: ProtobufModule("neighborinfo", meshtastic_PortNum_NEIGHBORINFO_APP, &meshtastic_NeighborInfo_msg),
|
||||||
ProtobufModule("neighborinfo", meshtastic_PortNum_NEIGHBORINFO_APP, &meshtastic_NeighborInfo_msg), concurrency::OSThread(
|
concurrency::OSThread("NeighborInfoModule"), neighbors(neighborState.neighbors),
|
||||||
"NeighborInfoModule")
|
numNeighbors(&neighborState.neighbors_count)
|
||||||
{
|
{
|
||||||
ourPortNum = meshtastic_PortNum_NEIGHBORINFO_APP;
|
ourPortNum = meshtastic_PortNum_NEIGHBORINFO_APP;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user