Skip to content

Commit 9e559c1

Browse files
authored
Merge pull request #54 from MONROE-PROJECT/kristrev/fix/v.49-groundspeed
renaming additional field NumOfSatelites -> SatelliteCount
2 parents f1f1c19 + 4da3e16 commit 9e559c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

metadata_writer_sqlite.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"Longitude REAL NOT NULL," \
104104
"Altitude REAL," \
105105
"Speed REAL," \
106-
"NumOfSatelites INTEGER," \
106+
"SatelliteCount INTEGER," \
107107
"PRIMARY KEY(NodeId) ON CONFLICT REPLACE)"
108108

109109
#define CREATE_MONITOR_SQL "CREATE TABLE IF NOT EXISTS MonitorEvents(" \
@@ -151,7 +151,7 @@
151151
#define INSERT_GPS_EVENT "INSERT INTO GpsUpdate(NodeId,BootCount" \
152152
",BootMultiplier,Timestamp" \
153153
",Sequence,EventType,EventParam,Latitude,Longitude" \
154-
",Altitude,Speed,NumOfSatelites) " \
154+
",Altitude,Speed,SatelliteCount) " \
155155
"VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"
156156

157157
#define INSERT_MONITOR_EVENT "INSERT INTO MonitorEvents(NodeId,Timestamp" \
@@ -285,7 +285,7 @@
285285
"quote(\"BootMultiplier\"), quote(\"Timestamp\"), "\
286286
"quote(\"Sequence\"), quote(\"Latitude\"), "\
287287
"quote(\"Longitude\"), quote(\"Altitude\"), "\
288-
"quote(\"Speed\"), quote(\"NumOfSatelites\") "\
288+
"quote(\"Speed\"), quote(\"SatelliteCount\") "\
289289
"|| \")\" FROM \"GpsUpdate\" ORDER BY Timestamp;"
290290

291291
#define DUMP_MONITOR "SELECT \"REPLACE INTO MonitorEvents" \

0 commit comments

Comments
 (0)