Updated telemetry to use new time_stamp feature
This commit is contained in:
@@ -179,7 +179,6 @@ GpsData Gps::getData() {
|
||||
output.time_write_time_ = millis() - gps_->time.age();
|
||||
|
||||
output.num_fix_ = gps_->sentencesWithFix();
|
||||
gps_->time.minute();
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ int Telemetry::loop() {
|
||||
vbatGlobalRead(packet.vbat);
|
||||
GpsData gps;
|
||||
gpsGlobalRead(gps);
|
||||
packet.time_stamp = gps.time_;
|
||||
packet.lat = gps.lat_.value_;
|
||||
packet.lng = gps.lng_.value_;
|
||||
packet.speed = gps.speed_.value_;
|
||||
|
||||
@@ -1 +1 @@
|
||||
/home/hector/projects/Exergie/TelemetryCommon/
|
||||
/home/hector/projects/Exergie/TelemetryCommon/cpp/
|
||||
Reference in New Issue
Block a user