mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:53:33 +08:00
GlobalTimeSyncSlave: Removed redundant code
This commit is contained in:
@@ -26,8 +26,7 @@ class GlobalTimeSyncSlave : Noncopyable
|
||||
NodeID master_nid_;
|
||||
uint8_t prev_iface_index_;
|
||||
|
||||
ISystemClock& getSystemClock() { return sub_.getNode().getSystemClock(); }
|
||||
const ISystemClock& getSystemClock() const { return sub_.getNode().getSystemClock(); }
|
||||
ISystemClock& getSystemClock() const { return sub_.getNode().getSystemClock(); }
|
||||
|
||||
void adjustFromMsg(const ReceivedDataStructure<protocol::GlobalTimeSync>& msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user