summaryrefslogtreecommitdiff
path: root/src/app/datalogger
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-24 13:19:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-24 13:19:52 +0100
commit1b65ba10b46c8eb62d33619c7d41e80447d09a8c (patch)
tree42427c1de108289556ed695c592f0869ff14744f /src/app/datalogger
parentda2e2b062c89206e666ac7ade175588df43ed399 (diff)
datalogger: fix hard/soft i2c check
Diffstat (limited to 'src/app/datalogger')
-rw-r--r--src/app/datalogger/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/datalogger/main.cc b/src/app/datalogger/main.cc
index 0d2f1d8..e916bff 100644
--- a/src/app/datalogger/main.cc
+++ b/src/app/datalogger/main.cc
@@ -7,7 +7,7 @@
#include "driver/gpio.h"
#include "driver/stdout.h"
-#if defined(CONFIG_meta_driver_i2c)
+#if defined(CONFIG_meta_driver_hardware_i2c)
#include "driver/i2c.h"
#elif defined(CONFIG_driver_softi2c)
#include "driver/soft_i2c.h"