avoid compile error without iic sensors

This commit is contained in:
andreas 2023-11-05 15:00:34 +01:00
parent 5a79e0584f
commit bf6efd1cd4
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
#include "GwHardware.h" #include "GwHardware.h"
#ifdef _GWIIC #ifdef _GWIIC
#include <Wire.h> #include <Wire.h>
#else
class TwoWire;
#endif #endif
#define CFG_GET(name,prefix) \ #define CFG_GET(name,prefix) \