mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-08 21:51:46 +00:00
Fixed double and missing Default class. (#3448)
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 * Merge PR #420 * Fixed double and missing Default class. --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
parent
5e832e2fc6
commit
7aa21f6e3f
@ -759,7 +759,7 @@ uint32_t GPS::getWakeTime() const
|
|||||||
if (t == UINT32_MAX)
|
if (t == UINT32_MAX)
|
||||||
return t; // already maxint
|
return t; // already maxint
|
||||||
|
|
||||||
return Default::Default::getConfiguredOrDefaultMs(t, default_broadcast_interval_secs);
|
return Default::getConfiguredOrDefaultMs(t, default_broadcast_interval_secs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get how long we should sleep between aqusition attempts in msecs
|
/** Get how long we should sleep between aqusition attempts in msecs
|
||||||
@ -775,7 +775,7 @@ uint32_t GPS::getSleepTime() const
|
|||||||
if (t == UINT32_MAX)
|
if (t == UINT32_MAX)
|
||||||
return t; // already maxint
|
return t; // already maxint
|
||||||
|
|
||||||
return t * 1000;
|
return Default::getConfiguredOrDefaultMs(t, default_gps_update_interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPS::publishUpdate()
|
void GPS::publishUpdate()
|
||||||
|
Loading…
Reference in New Issue
Block a user