CANSparkMaxLowLevel_SetEnable

Function CANSparkMaxLowLevel_SetEnable 

Source
pub unsafe extern "C" fn CANSparkMaxLowLevel_SetEnable(enable: bool)
Expand description

Send enabled or disabled command to controllers. This is global for all controllers on the same bus, and will only work for non-roboRIO targets in non-competiton use. This function will also not work if a roboRIO is present on the CAN bus.

This does not disable sending control frames from this device. To prevent conflicts, do not enable this feature and also send Set() for SetReference() from the controllers you wish to control.

@param enable Enable or disable external control