ppr1 WIP DO NOT MERGE - will break other clients

This commit is contained in:
Kevin Hester
2020-10-17 13:15:12 +08:00
parent c73ee98739
commit e1f0e11cb8
5 changed files with 21 additions and 6 deletions

View File

@@ -27,6 +27,12 @@ GPS *gps;
bool GPS::setup()
{
// Master power for the GPS
#ifdef PIN_GPS_EN
digitalWrite(PIN_GPS_EN, PIN_GPS_EN);
pinMode(PIN_GPS_EN, OUTPUT);
#endif
setAwake(true); // Wake GPS power before doing any init
bool ok = setupGPS();