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:
Mictronics 2024-03-20 16:58:48 +01:00 committed by GitHub
parent 5e832e2fc6
commit 7aa21f6e3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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