summaryrefslogtreecommitdiff
path: root/src/driver/ssd1306.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/ssd1306.cc')
-rw-r--r--src/driver/ssd1306.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/ssd1306.cc b/src/driver/ssd1306.cc
index e1c299e..8f689ad 100644
--- a/src/driver/ssd1306.cc
+++ b/src/driver/ssd1306.cc
@@ -7,9 +7,9 @@
* 128x64 and 128x32 Displays.
*/
#include "driver/ssd1306.h"
-#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(CONFIG_driver_softi2c)
+#if defined(CONFIG_meta_driver_hardware_i2c)
#include "driver/i2c.h"
-#else
+#elif defined(CONFIG_driver_softi2c)
#include "driver/soft_i2c.h"
#endif