From 8209f77c1e902951d422826622fcf4afd7316c91 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 4 Nov 2019 14:58:14 +0800 Subject: [PATCH] wavemeter: do not crash in do_calibrate when MEAS signal is wrong --- src/wavemeter.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wavemeter.rs b/src/wavemeter.rs index dc2549a..fe68987 100644 --- a/src/wavemeter.rs +++ b/src/wavemeter.rs @@ -46,7 +46,8 @@ fn read_config_from_file>(path: P) -> Result