Skip to main content

pamoja_lora_radio_free

Function pamoja_lora_radio_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lora_radio_free( radio: *mut PamojaLoraRadio, )
Expand description

Closes a radio’s device files and releases it.

§Arguments

  • radio - the radio, which must not be used again.

§Safety

radio must be a live handle from one of the open functions, or null.