mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 07:23:07 +01:00
add some compile time checks for necessary i2c definitions
This commit is contained in:
@@ -126,4 +126,7 @@ class SensorList : public std::vector<SensorBase*>{
|
||||
using std::vector<SensorBase*>::vector;
|
||||
};
|
||||
|
||||
#define CHECK_IIC1() checkDef(GWIIC_SCL,GWIIC_SDA)
|
||||
#define CHECK_IIC2() checkDef(GWIIC_SCL2,GWIIC_SDA2)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user