From d20dc842b4d01411cdc4eb9feb8c0c81a86e8b50 Mon Sep 17 00:00:00 2001 From: ljk Date: Wed, 28 May 2025 17:16:29 +0800 Subject: [PATCH] The issue of compiling Nimble Bluetooth in tlora-c6 environments and the problem of undefined variables have been resolved. --- src/mesh/NodeDB.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index c2089fbff..04c010e8b 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -1480,9 +1480,11 @@ void NodeDB::updatePosition(uint32_t nodeId, const meshtastic_Position &p, RxSou updateGUIforNode = info; notifyObservers(true); // Force an update whether or not our node counts have changed +#if !MESHTASTIC_EXCLUDE_BLUETOOTH #ifdef ARCH_ESP32 nimbleBluetooth->Send_GPWPL(nodeId, info->user.short_name, info->position.latitude_i, info->position.longitude_i); #endif +#endif } /** Update telemetry info for this node based on received metrics