eink wip notes

This commit is contained in:
geeksville
2020-09-25 09:14:00 -07:00
parent a79aff4778
commit 6f77244af3
3 changed files with 30 additions and 3 deletions
+11
View File
@@ -10,6 +10,17 @@ static int32_t toDegInt(RawDegrees d)
return r;
}
bool NMEAGPS::setup()
{
#ifdef PIN_GPS_WAKE
// FIXME, support using this pin to control GPS sleep
// digitalWrite(PIN_GPS_WAKE, LOW);
// pinMode(PIN_GPS_WAKE, OUTPUT);
#endif
return true;
}
void NMEAGPS::loop()
{
while (_serial_gps->available() > 0) {
+2
View File
@@ -17,5 +17,7 @@ class NMEAGPS : public GPS
uint32_t lastUpdateMsec = 0;
public:
virtual bool setup();
virtual void loop();
};