From 44c73e7330aaa7d1411a8fd48b85d1b95bdc2b6b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 31 Dec 2021 15:30:52 +0100 Subject: Use CONFIG_meta_driver_hardware_i2c instead of MULTIPASS_ARCH_HAS_I2C --- src/app/posix-stdin-to-ssd1306/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app/posix-stdin-to-ssd1306') diff --git a/src/app/posix-stdin-to-ssd1306/main.cc b/src/app/posix-stdin-to-ssd1306/main.cc index a3fd085..0077724 100644 --- a/src/app/posix-stdin-to-ssd1306/main.cc +++ b/src/app/posix-stdin-to-ssd1306/main.cc @@ -5,9 +5,9 @@ */ #include "arch.h" #include "driver/stdout.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 #include "driver/ssd1306.h" -- cgit v1.2.3