[][src]Function wpilib_sys::bindings::HAL_WaitForDSDataTimeout

pub unsafe extern "C" fn HAL_WaitForDSDataTimeout(timeout: f64) -> HAL_Bool

Waits for the newest DS packet to arrive. If timeout is <= 0, this will wait forever. Otherwise, it will wait until either a new packet, or the timeout time has passed.

@param timeout timeout in seconds @return true for new data, false for timeout