#[unsafe(no_mangle)]pub extern "C" fn pamoja_controller_surge(
rising: bool,
limit: f32,
) -> *mut PamojaControllerExpand description
Creates a controller that warns when a reading changes too fast.
§Arguments
rising- watch a rapid rise rather than a rapid fall.limit- the largest safe change per sample.
§Returns
A handle the caller must release with pamoja_controller_free.