T1000-E: refactor GPS initialization; set GPS_RESETB pin as OUTPUT and remove redundant pin settings

This commit is contained in:
ViezeVingertjes 2025-09-06 20:42:11 +02:00
parent 132ca72735
commit ac8ec172ef
2 changed files with 2 additions and 10 deletions

View file

@ -146,15 +146,6 @@ void T1000SensorManager::stop_gps() {
bool T1000SensorManager::begin() {
// init GPS
Serial1.begin(115200);
// make sure gps pin are off
digitalWrite(GPS_VRTC_EN, LOW);
digitalWrite(GPS_RESET, LOW);
digitalWrite(GPS_SLEEP_INT, LOW);
digitalWrite(GPS_RTC_INT, LOW);
pinMode(GPS_RESETB, OUTPUT);
digitalWrite(GPS_RESETB, LOW);
return true;
}