mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 08:13:33 +08:00
Explicit constructors
This commit is contained in:
@@ -61,7 +61,7 @@ class SystemClock : public uavcan::ISystemClock
|
||||
}
|
||||
|
||||
public:
|
||||
SystemClock(ClockAdjustmentMode adj_mode = detectPreferredClockAdjustmentMode())
|
||||
explicit SystemClock(ClockAdjustmentMode adj_mode = detectPreferredClockAdjustmentMode())
|
||||
: gradual_adj_limit_(uavcan::UtcDuration::fromMSec(4000))
|
||||
, adj_mode_(adj_mode)
|
||||
, step_adj_cnt_(0)
|
||||
|
||||
Reference in New Issue
Block a user