From 651c24602fe445284aa5e4dda8ae575093e0603c Mon Sep 17 00:00:00 2001 From: medentem Date: Mon, 16 Dec 2024 08:55:16 -0600 Subject: [PATCH] revert --- src/modules/PositionModule.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/modules/PositionModule.cpp b/src/modules/PositionModule.cpp index 1f637ed3f..6285d7aa5 100644 --- a/src/modules/PositionModule.cpp +++ b/src/modules/PositionModule.cpp @@ -1,6 +1,5 @@ #if !MESHTASTIC_EXCLUDE_GPS #include "PositionModule.h" -#include "NodeInfoModule.h" #include "Default.h" #include "GPS.h" #include "MeshService.h" @@ -316,13 +315,6 @@ void PositionModule::sendOurPosition() // If we changed channels, ask everyone else for their latest info LOG_INFO("Send pos@%x:6 to mesh (wantReplies=%d)", localPosition.timestamp, requestReplies); sendOurPosition(NODENUM_BROADCAST, requestReplies); - -#ifdef USERPREFS_CONFIG_DISCOVERY_CHANNEL_HASH - // If the user wants discovery on a different channel, send only nodeinfo to that channel - // sendOurNodeInfo() will automatically handle routing a nodeinfo packet to the correct channel - assert(nodeInfoModule); - nodeInfoModule->sendOurNodeInfo(); -#endif } void PositionModule::sendOurPosition(NodeNum dest, bool wantReplies, uint8_t channel)