From 3f85812f565a3cae5af8254fc3a521764cd886c4 Mon Sep 17 00:00:00 2001 From: klaute Date: Mon, 10 Oct 2016 11:28:09 +0200 Subject: [PATCH] =?UTF-8?q?'firmware/command=5Fctrl.ino'=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit End-value fixed in measurement functionality. --- firmware/command_ctrl.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/command_ctrl.ino b/firmware/command_ctrl.ino index 8720b29..a031293 100644 --- a/firmware/command_ctrl.ino +++ b/firmware/command_ctrl.ino @@ -220,7 +220,7 @@ void cc_startMeasurement() } uint32_t freq = 0; - for (freq = start_freq; freq < end_freq; freq += step_freq) + for (freq = start_freq; freq <= end_freq; freq += step_freq) { uint32_t a0_sum = 0; uint32_t a1_sum = 0; @@ -510,4 +510,4 @@ void cc_clearReadDataBuffer() } /*****************************************************************************/ - +