mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 18:09:04 +00:00
Send DeviceTelemetry only after NodeInfo is sent
This commit is contained in:
parent
40d98b9d8d
commit
5cadcd355f
@ -12,7 +12,7 @@ class DeviceTelemetryModule : private concurrency::OSThread, public ProtobufModu
|
|||||||
: concurrency::OSThread("DeviceTelemetryModule"),
|
: concurrency::OSThread("DeviceTelemetryModule"),
|
||||||
ProtobufModule("DeviceTelemetry", meshtastic_PortNum_TELEMETRY_APP, &meshtastic_Telemetry_msg)
|
ProtobufModule("DeviceTelemetry", meshtastic_PortNum_TELEMETRY_APP, &meshtastic_Telemetry_msg)
|
||||||
{
|
{
|
||||||
setIntervalFromNow(10 * 1000);
|
setIntervalFromNow(45 * 1000); // Wait until NodeInfo is sent
|
||||||
}
|
}
|
||||||
virtual bool wantUIFrame() { return false; }
|
virtual bool wantUIFrame() { return false; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user