Description
This commit is contained in:
parent
09e4a03981
commit
c99fbefbb6
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue