aboutsummaryrefslogtreecommitdiffstats
path: root/src/TimestampDecoder.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 20:26:36 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 20:26:36 +0200
commitd521d4f0c5ad3b663a322453c5798626081cb1f3 (patch)
tree1741d2a9d1ba69a351d034cc81815a73181a462a /src/TimestampDecoder.cpp
parent8a547d0c0a84ea5a3464c7bc82a45f78aaae81c0 (diff)
downloaddabmod-d521d4f0c5ad3b663a322453c5798626081cb1f3.tar.gz
dabmod-d521d4f0c5ad3b663a322453c5798626081cb1f3.tar.bz2
dabmod-d521d4f0c5ad3b663a322453c5798626081cb1f3.zip
Change RC showjson command
Diffstat (limited to 'src/TimestampDecoder.cpp')
-rw-r--r--src/TimestampDecoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TimestampDecoder.cpp b/src/TimestampDecoder.cpp
index 149cd50..4277e55 100644
--- a/src/TimestampDecoder.cpp
+++ b/src/TimestampDecoder.cpp
@@ -301,9 +301,9 @@ const std::string TimestampDecoder::get_parameter(
return ss.str();
}
-const RemoteControllable::map_t TimestampDecoder::get_all_values() const
+const json::map_t TimestampDecoder::get_all_values() const
{
- map_t map;
+ json::map_t map;
map["offset"] = timestamp_offset;
if (full_timestamp_received) {
map["timestamp"] = time_secs + ((double)time_pps / 16384000.0);