restructure bme280 handling

This commit is contained in:
andreas committed 2023-11-03 17:25:12 +01:00
1 parent 41b9f1e675
commit f2e5115d93
2 files changed
+218 -90

No files matched your search

+11
View File
@@ -277,6 +277,17 @@
#endif
#define _GWIIC
#endif
#ifdef GWIIC_SDA2
#ifndef GWIIC_SCL2
#error "you must both define GWIIC_SDA2 and GWIIC_SCL2"
#endif
#endif
#ifdef GWIIC_SCL2
#ifndef GWIIC_SDA2
#error "you must both define GWIIC_SDA and GWIIC_SCL2"
#endif
#define _GWIIC
#endif
#ifndef GWLED_TYPE