Skip to main content

pamoja_mavlink_command_id

Function pamoja_mavlink_command_id 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_mavlink_command_id( command: *const PamojaMavlinkCommand, ) -> u16
Expand description

Returns the command id being tracked.

§Arguments

  • command - the tracker.

§Returns

The command id, or 0 if command is null.

§Safety

command must be a live tracker handle or null.