The issue of compiling Nimble Bluetooth in tlora-c6 environments and the problem of undefined variables have been resolved.

This commit is contained in:
ljk 2025-05-28 17:16:29 +08:00
parent 4f11be79af
commit d20dc842b4

View File

@ -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