From bf6efd1cd4352424dc42134edbafb5dd03aad7c8 Mon Sep 17 00:00:00 2001 From: andreas Date: Sun, 5 Nov 2023 15:00:34 +0100 Subject: [PATCH] avoid compile error without iic sensors --- lib/iictask/GwIicSensors.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/iictask/GwIicSensors.h b/lib/iictask/GwIicSensors.h index c6630c7..313e82b 100644 --- a/lib/iictask/GwIicSensors.h +++ b/lib/iictask/GwIicSensors.h @@ -6,6 +6,8 @@ #include "GwHardware.h" #ifdef _GWIIC #include +#else + class TwoWire; #endif #define CFG_GET(name,prefix) \