CANSparkMax_SetCANTimeout

Function CANSparkMax_SetCANTimeout 

Source
pub unsafe extern "C" fn CANSparkMax_SetCANTimeout(
    this: *mut CANSparkMax,
    milliseconds: c_int,
) -> REVLibError
Expand description

Sets timeout for sending CAN messages. A timeout of 0 also means that error handling will be done automatically by registering calls and waiting for responses, rather than needing to call GetLastError().

@param milliseconds The timeout in milliseconds.