Skip to content
Snippets Groups Projects
Unverified Commit 277600fd authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

i2cdetect, dataloger: use config variable for i2c include

parent afe39c8b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
#include "driver/gpio.h"
#include "driver/stdout.h"
#if defined(DRIVER_I2C)
#if defined(CONFIG_meta_driver_i2c)
#include "driver/i2c.h"
#elif defined(CONFIG_driver_softi2c)
#include "driver/soft_i2c.h"
......
......@@ -6,10 +6,9 @@
#include "arch.h"
#include "driver/gpio.h"
#include "driver/stdout.h"
#ifdef DRIVER_HARDWARE_I2C
#if defined(CONFIG_meta_driver_i2c)
#include "driver/i2c.h"
#endif
#ifdef CONFIG_driver_softi2c
#elif defined(CONFIG_driver_softi2c)
#include "driver/soft_i2c.h"
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment