orbita3d_get_board_state

Function orbita3d_get_board_state 

Source
#[unsafe(no_mangle)]
pub extern "C" fn orbita3d_get_board_state( uid: u32, state: &mut u8, ) -> i32
Expand description

Get the state of the board (BoardState - u8)

  • See more info here

§Arguments

  • uid: u32 - The unique identifier of the controller.
  • state: *mut u8 - The state of the board.

§Returns

  • i32 - 0 if the state was retrieved successfully, 1 otherwise.