From bddbe4cde399ba4764a6f4d526492cb7c00f5400 Mon Sep 17 00:00:00 2001 From: DL1YCF Date: Thu, 3 Jun 2021 11:59:10 +0200 Subject: [PATCH] ext.c: corrected step size change --- ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext.c b/ext.c index f0b798b..3370fa8 100644 --- a/ext.c +++ b/ext.c @@ -206,7 +206,7 @@ void update_vfo_step(int direction) { } else { i--; } - if (i >= STEPS) i=STEPS; + if (i >= STEPS) i=STEPS-1; if (i < 0 ) i=0; step=steps[i]; -- 2.45.2