diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-26 11:39:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-26 11:39:32 +0100 |
commit | 7654a57f097567a65211f7b3fffdb0c00d721205 (patch) | |
tree | e94b5b17bdc7e602f9404bef509418e3c1ee1c1b /src/app | |
parent | ba778ead40ddf8f1282e78cc8b5dd42e6c4fe1c5 (diff) |
datalogger: Initialize I2C if meta_driver_i2c is set
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/datalogger/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/datalogger/main.cc b/src/app/datalogger/main.cc index e916bff..c6252b2 100644 --- a/src/app/datalogger/main.cc +++ b/src/app/datalogger/main.cc @@ -178,7 +178,7 @@ int main(void) gpio.setup(); kout.setup(); -#if defined(DRIVER_I2C) || defined(CONFIG_driver_softi2c) +#if defined(CONFIG_meta_driver_i2c) if (i2c.setup() != 0) { kout << "I2C setup FAILED" << endl; return 1; |