define or delete missing move/copy ctors
This commit is contained in:
@@ -19,6 +19,8 @@ class AdafruitServoMotor : public RangedMotor
|
||||
const uint16_t minPulseLength = 125,
|
||||
const uint16_t maxPulseLength = 625
|
||||
) noexcept;
|
||||
AdafruitServoMotor(const AdafruitServoMotor& other) = delete;
|
||||
AdafruitServoMotor(AdafruitServoMotor&& other) noexcept = default;
|
||||
|
||||
// Returns true if the motion is accepted, false if it is outside of safe bounds.
|
||||
// If out of safe bounds, maximum or minimun safe value will be assumen
|
||||
|
||||
Reference in New Issue
Block a user