CANSparkMax_EnableSoftLimit

Function CANSparkMax_EnableSoftLimit 

Source
pub unsafe extern "C" fn CANSparkMax_EnableSoftLimit(
    this: *mut CANSparkMax,
    direction: CANSparkMax_SoftLimitDirection,
    enable: bool,
) -> REVLibError
Expand description

Enable soft limits

@param direction the direction of motion to restrict

@param enable set true to enable soft limits