Skip to content

Commit

Permalink
Get rid of log clutter during oled screen animation (meshtastic#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
caveman99 authored Feb 3, 2022
1 parent 10800a6 commit 868af9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/GPSStatus.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ class GPSStatus : public Status

int32_t getLatitude() const {
if (radioConfig.preferences.fixed_position){
#if GPS_EXTRAVERBOSE
DEBUG_MSG("WARNING: Using fixed latitude\n");
#endif
NodeInfo *node = nodeDB.getNode(nodeDB.getNodeNum());
return node->position.latitude_i;
} else {
Expand All @@ -73,7 +75,9 @@ class GPSStatus : public Status

int32_t getLongitude() const {
if (radioConfig.preferences.fixed_position){
#if GPS_EXTRAVERBOSE
DEBUG_MSG("WARNING: Using fixed longitude\n");
#endif
NodeInfo *node = nodeDB.getNode(nodeDB.getNodeNum());
return node->position.longitude_i;
} else {
Expand All @@ -83,7 +87,9 @@ class GPSStatus : public Status

int32_t getAltitude() const {
if (radioConfig.preferences.fixed_position){
#if GPS_EXTRAVERBOSE
DEBUG_MSG("WARNING: Using fixed altitude\n");
#endif
NodeInfo *node = nodeDB.getNode(nodeDB.getNodeNum());
return node->position.altitude;
} else {
Expand Down

0 comments on commit 868af9d

Please sign in to comment.