From fd70371a54ff9c07e0c8e20a00becf958be271c4 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Wed, 24 Jun 2020 23:38:41 +0300 Subject: [PATCH] More replace POINTS_COUNT to sweep_points --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 8061544..674d608 100644 --- a/main.c +++ b/main.c @@ -993,7 +993,7 @@ VNA_SHELL_FUNCTION(cmd_scan) } if (argc >= 3) { points = my_atoi(argv[2]); - if (points <= 0 || points > POINTS_COUNT) { + if (points <= 0 || points > sweep_points) { shell_printf("sweep points exceeds range "define_to_STR(POINTS_COUNT)"\r\n"); return; }