mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
T1000-E: refactor GPS initialization; set GPS_RESETB pin as OUTPUT and remove redundant pin settings
This commit is contained in:
parent
132ca72735
commit
ac8ec172ef
2 changed files with 2 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue