From 6a9d0737a74e0d2a009e1338ea61ee2c6f492a9d Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Sat, 30 May 2020 19:24:28 +0200 Subject: [PATCH] Marker cmd now shows absolue level as 4th number --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 994912d..4322aeb 100644 --- a/main.c +++ b/main.c @@ -1805,7 +1805,7 @@ VNA_SHELL_FUNCTION(cmd_marker) if (argc == 0) { for (t = 0; t < MARKERS_MAX; t++) { if (markers[t].enabled) { - shell_printf("%d %d %d\r\n", t+1, markers[t].index, markers[t].frequency); + shell_printf("%d %d %d %.2f\r\n", t+1, markers[t].index, markers[t].frequency, actual_t[markers[t].index]); } } return; @@ -1821,7 +1821,7 @@ VNA_SHELL_FUNCTION(cmd_marker) if (t < 0 || t >= MARKERS_MAX) goto usage; if (argc == 1) { - shell_printf("%d %d %d\r\n", t+1, markers[t].index, markers[t].frequency); + shell_printf("%d %d %d %.2f\r\n", t+1, markers[t].index, markers[t].frequency, actual_t[markers[t].index]); active_marker = t; // select active marker markers[t].enabled = TRUE;