pub unsafe fn vexDeviceGetStatus(devices: *mut V5_DeviceType) -> i32
Expand description
Get a list of device types plugged into the brain.
Returns -1 if a null pointer is passed, otherwise the number of devices that were written to the buffer.
The length of the buffer should be at most V5_MAX_DEVICE_PORTS
.
ยงSafety
Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.