Description

This commit is contained in:
Norbert Walter 2022-01-08 16:30:11 +01:00
parent 09e4a03981
commit c99fbefbb6
2 changed files with 2 additions and 2 deletions

View File

@ -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); api->getBoatDataValues(7,valueList);
busInfo.WaterDepth.fvalue = waterdepth->value; busInfo.WaterDepth.fvalue = waterdepth->value;

View File

@ -3,7 +3,7 @@
#include <Arduino.h> #include <Arduino.h>
typedef struct{ typedef struct{ // Sub structure for bus data
float fvalue = 0; // Float value float fvalue = 0; // Float value
char svalue[16] = ""; // Char value char svalue[16] = ""; // Char value
char unit[8] = ""; // Unit char unit[8] = ""; // Unit