CANSparkMaxLowLevel_RestoreFactoryDefaults

Function CANSparkMaxLowLevel_RestoreFactoryDefaults 

Source
pub unsafe extern "C" fn CANSparkMaxLowLevel_RestoreFactoryDefaults(
    this: *mut CANSparkMaxLowLevel,
    persist: bool,
) -> REVLibError
Expand description

Restore motor controller parameters to factory default

@param persist If true, burn the flash with the factory default parameters

@return REVLibError::kOk if successful