From 1007607a43ae670104a8e33c979de73d213d6ce0 Mon Sep 17 00:00:00 2001 From: mes Date: Sun, 11 Apr 2021 21:45:09 +0200 Subject: [PATCH] minor --- src/IBS_Sensor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/IBS_Sensor.cpp b/src/IBS_Sensor.cpp index 7281ed9..7e0f6a6 100644 --- a/src/IBS_Sensor.cpp +++ b/src/IBS_Sensor.cpp @@ -66,8 +66,8 @@ bool IBS_Sensor::readFrames() //ensure not work with received data (in case of a chksum error at the first run) StatusReady = false; - //Read max 3 times sensor status / wait for valid data - for (int i=3; i>=0; i--) { + //Read max 10 times sensor status / wait for valid data + for (int i=10; i>=0; i--) { // StatusReady Flag is included in Frame "Status" readFrameStatus(); if (StatusReady) @@ -82,7 +82,7 @@ bool IBS_Sensor::readFrames() success = success && readFrameSOx(); success = success && readFrameCapacity(); -// Dont know that to do with the results of Frame Error and TB3 +// Don't know that to do with the results of Frame Error and TB3 // success = success && readFrameError(); // success = success && readFrameTB3();