Reverted code change to GPS

This commit is contained in:
Kevin Le
2026-06-12 21:19:05 +07:00
parent 7c1b1c6e5e
commit 19efda9f2e
@@ -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);