From ad833867d1a7836e52465fafda2b7733b1a97a69 Mon Sep 17 00:00:00 2001 From: kuwoyuki Date: Tue, 2 Dec 2025 17:59:41 +0600 Subject: [PATCH] fix: trig hold when entering menu to avoid flickering --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index f194c78..0bf4fa6 100644 --- a/main.c +++ b/main.c @@ -1893,6 +1893,9 @@ void enter_menu_mode(void) { app.last_disp_sent[0] = '\0'; save_dmm_state(); + // Trigger Hold (T4) to make sure no new measurements + // interrupt our display while we're going through the menu + gpib_send(app.dmm_addr, HP3478A_TRIG_HOLD); app.current_mode = MODE_MENU; app.menu_pos = MENU_REL;