pub unsafe extern "C" fn SparkMaxAnalogSensor_SetAverageDepth(
this: *mut c_void,
depth: u32,
) -> REVLibErrorExpand description
Set the number of samples in the average for velocity readings. This can be any value from 1 to 64.
When the SparkMax controller is in Brushless mode, this will not change any behavior.
@param depth The average sampling depth between 1 and 64 (default)
@return REVLibError::kOk if successful