From ab52748cac198618e84d14217a791b96fe41dc76 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Fri, 19 May 2023 10:23:01 +0800 Subject: [PATCH] analyzer sat: disarm on drop --- artiq/firmware/satman/analyzer.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/artiq/firmware/satman/analyzer.rs b/artiq/firmware/satman/analyzer.rs index 189d931f6..c597196a1 100644 --- a/artiq/firmware/satman/analyzer.rs +++ b/artiq/firmware/satman/analyzer.rs @@ -60,6 +60,10 @@ impl Analyzer { } } + fn drop(&mut self) { + disarm(); + } + pub fn get_header(&mut self) -> Header { disarm();