Fix #362 by @a-f-G-U-C - I was mispelling NMEA ;-)

This commit is contained in:
geeksville
2020-09-16 09:22:03 -07:00
parent 8e988cc926
commit fc20f658e6
5 changed files with 16 additions and 16 deletions

21
src/gps/NMEAGPS.h Normal file
View File

@@ -0,0 +1,21 @@
#pragma once
#include "../concurrency/PeriodicTask.h"
#include "GPS.h"
#include "Observer.h"
#include "TinyGPS++.h"
/**
* A gps class thatreads from a NMEA GPS stream (and FIXME - eventually keeps the gps powered down except when reading)
*
* When new data is available it will notify observers.
*/
class NMEAGPS : public GPS
{
TinyGPSPlus reader;
uint32_t lastUpdateMsec = 0;
public:
virtual void loop();
};