1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-14 06:23:07 +01:00

intermediate: add SPI/SSI task and DMS22B sensor

This commit is contained in:
andreas
2024-03-01 20:36:29 +01:00
parent b3d065abd1
commit 5356b783c3
10 changed files with 497 additions and 3 deletions

View File

@@ -19,7 +19,6 @@
template<typename BUS>
class SensorBase{
public:
using BusType=BUS;
int busId=0;
int iid=99; //N2K instanceId
int addr=-1;
@@ -46,4 +45,8 @@ class SensorList : public std::vector<SensorBase<BUS>*>{
}
using std::vector<SensorBase<BUS>*>::vector;
};
#define CFG_GET(name,prefix) \
cfg->getValue(name, GwConfigDefinitions::prefix ## name)
#endif