fix(core): optimize GPS loop and add display GPIO safeguards
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user