mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
fix(core): optimize GPS loop and add display GPIO safeguards
This commit is contained in:
parent
d834d66803
commit
01eb8716af
2 changed files with 17 additions and 7 deletions
|
|
@ -695,8 +695,8 @@ void EnvironmentSensorManager::loop() {
|
|||
static long next_gps_update = 0;
|
||||
|
||||
#if ENV_INCLUDE_GPS
|
||||
_location->loop();
|
||||
if (millis() > next_gps_update) {
|
||||
_location->loop();
|
||||
|
||||
if(gps_active){
|
||||
#ifdef RAK_WISBLOCK_GPS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue