From c99fbefbb6c10c7c0d678325864b690d7f9c5d4e Mon Sep 17 00:00:00 2001 From: Norbert Walter Date: Sat, 8 Jan 2022 16:30:11 +0100 Subject: [PATCH] Description --- lib/obp60task/GwOBP60Task.cpp | 2 +- lib/obp60task/OBP60Data.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/obp60task/GwOBP60Task.cpp b/lib/obp60task/GwOBP60Task.cpp index ce76b22..81f6a5d 100644 --- a/lib/obp60task/GwOBP60Task.cpp +++ b/lib/obp60task/GwOBP60Task.cpp @@ -339,7 +339,7 @@ void OBP60Task(void *param){ } } - //fetch the current values of the items that we have in itemNames + // Read the current bus data and copy to stucture api->getBoatDataValues(7,valueList); busInfo.WaterDepth.fvalue = waterdepth->value; diff --git a/lib/obp60task/OBP60Data.h b/lib/obp60task/OBP60Data.h index a5acdb4..5798e5d 100644 --- a/lib/obp60task/OBP60Data.h +++ b/lib/obp60task/OBP60Data.h @@ -3,7 +3,7 @@ #include -typedef struct{ +typedef struct{ // Sub structure for bus data float fvalue = 0; // Float value char svalue[16] = ""; // Char value char unit[8] = ""; // Unit