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