mirror of
https://github.com/adafruit/Adafruit_GPS.git
synced 2026-10-27 06:20:18 +00:00
Keep flash table declarations compatible with Doxygen
Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
This commit is contained in:
1 parent
8d660243a0
commit
38ad3ffcac
2 files changed
+8
-8
No files matched your search
+3
-3
@@ -254,9 +254,9 @@ private:
|
||||
bool isEmpty(char *pStart);
|
||||
|
||||
// Shared flash tables avoid RAM copies of both the IDs and their pointers.
|
||||
static const char sources[][4] PROGMEM; ///< valid source ids
|
||||
static const char sentences_parsed[][4] PROGMEM; ///< parseable sentence ids
|
||||
static const char sentences_known[][4] PROGMEM; ///< known, but not parseable
|
||||
static const char PROGMEM sources[][4]; ///< valid source ids
|
||||
static const char PROGMEM sentences_parsed[][4]; ///< parseable sentence ids
|
||||
static const char PROGMEM sentences_known[][4]; ///< known, but not parseable
|
||||
|
||||
// Make all of these times far in the past by setting them near the middle of
|
||||
// the millis() range. Timing assumes that sentences are parsed promptly.
|
||||
|
||||
+5
-5
@@ -22,19 +22,19 @@
|
||||
|
||||
#include <Adafruit_GPS.h>
|
||||
|
||||
const char Adafruit_GPS::sources[][4] PROGMEM = {"II", "WI", "GP", "PG", "GL",
|
||||
const char PROGMEM Adafruit_GPS::sources[][4] = {"II", "WI", "GP", "PG", "GL",
|
||||
"GA", "GN", "P", "ZZZ"};
|
||||
#ifdef NMEA_EXTENSIONS
|
||||
const char Adafruit_GPS::sentences_parsed[][4] PROGMEM = {
|
||||
const char PROGMEM Adafruit_GPS::sentences_parsed[][4] = {
|
||||
"GGA", "GLL", "GSA", "RMC", "DBT", "HDM", "HDT", "MDA", "MTW", "MWV",
|
||||
"RMB", "TOP", "TXT", "VHW", "VLW", "VPW", "VWR", "WCV", "XTE", "ZZZ"};
|
||||
const char Adafruit_GPS::sentences_known[][4] PROGMEM = {
|
||||
const char PROGMEM Adafruit_GPS::sentences_known[][4] = {
|
||||
"APB", "DPT", "GSV", "HDG", "MWD", "ROT",
|
||||
"RPM", "RSA", "VDR", "VTG", "ZDA", "ZZZ"};
|
||||
#else // make the lists short to save flash on small boards
|
||||
const char Adafruit_GPS::sentences_parsed[][4] PROGMEM = {"GGA", "GLL", "GSA",
|
||||
const char PROGMEM Adafruit_GPS::sentences_parsed[][4] = {"GGA", "GLL", "GSA",
|
||||
"RMC", "TOP", "ZZZ"};
|
||||
const char Adafruit_GPS::sentences_known[][4] PROGMEM = {"DBT", "HDM", "HDT",
|
||||
const char PROGMEM Adafruit_GPS::sentences_known[][4] = {"DBT", "HDM", "HDT",
|
||||
"ZZZ"};
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
Reference in new issue
Block a user