summaryrefslogtreecommitdiff
path: root/src/driver/am2320.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/am2320.cc')
-rw-r--r--src/driver/am2320.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/am2320.cc b/src/driver/am2320.cc
index f928b0b..7157add 100644
--- a/src/driver/am2320.cc
+++ b/src/driver/am2320.cc
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "driver/am2320.h"
-#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
+#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(CONFIG_driver_softi2c)
#include "driver/i2c.h"
#else
#include "driver/soft_i2c.h"