[][src]Function kpal_plugin::peripheral_free

pub extern "C" fn peripheral_free(peripheral: *mut Peripheral)

Frees the memory associated with the peripheral.

This routine will be called automatically by the daemon and should not be called by any user code.

Arguments

  • peripheral - A pointer to a peripheral struct