mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-07-28 10:39:23 +00:00
Reverted code change to GPS
This commit is contained in:
@@ -76,7 +76,6 @@ public :
|
||||
void begin() override {
|
||||
claim();
|
||||
if (_pin_en != -1) {
|
||||
pinMode(_pin_en, OUTPUT);
|
||||
digitalWrite(_pin_en, PIN_GPS_EN_ACTIVE);
|
||||
}
|
||||
if (_pin_reset != -1) {
|
||||
@@ -95,7 +94,6 @@ public :
|
||||
void stop() override {
|
||||
if (_pin_en != -1) {
|
||||
digitalWrite(_pin_en, !PIN_GPS_EN_ACTIVE);
|
||||
pinMode(_pin_en, INPUT); // Reduce 0.3mA leaking
|
||||
}
|
||||
if (_pin_reset != -1) {
|
||||
digitalWrite(_pin_reset, GPS_RESET_FORCE);
|
||||
|
||||
Reference in New Issue
Block a user