microRTPS: timesync: fix comment indentation

This commit is contained in:
TSC21
2020-03-11 14:17:41 +00:00
committed by Nuno Marques
parent 21f0d99145
commit 2b8eb736e1
+2 -2
View File
@@ -212,7 +212,7 @@ private:
*/
inline void updateOffset(const uint64_t& offset) { _offset_ns.store(offset, std::memory_order_relaxed); }
/** Timesync msg Getters **/
/** Timesync msg Getters **/
@[if fastrtps_version <= 1.7 or not ros2_distro]@
inline uint64_t getMsgTimestamp(const timesync_msg_t* msg) { return msg->timestamp_(); }
inline uint8_t getMsgSysID(const timesync_msg_t* msg) { return msg->sys_id_(); }
@@ -227,7 +227,7 @@ private:
inline int64_t getMsgTS1(const timesync_msg_t* msg) { return msg->ts1(); }
@[end if]@
/** Timesync msg Setters **/
/** Timesync msg Setters **/
@[if fastrtps_version <= 1.7 or not ros2_distro]@
inline uint64_t setMsgTimestamp(timesync_msg_t* msg, const uint64_t& timestamp) { msg->timestamp_() = timestamp; }
inline uint8_t setMsgSysID(timesync_msg_t* msg, const uint8_t& sys_id) { msg->sys_id_() = sys_id; }