summaryrefslogtreecommitdiff
path: root/src/driver/s5851a.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/s5851a.cc')
-rw-r--r--src/driver/s5851a.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/s5851a.cc b/src/driver/s5851a.cc
index 2684534..fecb219 100644
--- a/src/driver/s5851a.cc
+++ b/src/driver/s5851a.cc
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "driver/s5851a.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"