Skip to content
Snippets Groups Projects
Commit da2e2b06 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

i2cdetect: fix hardware i2c check

parent 433de031
No related branches found
No related tags found
No related merge requests found
......@@ -6,5 +6,6 @@
ifdef app
override arch_drivers += ,i2c
CONFIG_meta_driver_i2c = y
CONFIG_meta_driver_hardware_i2c = y
endif
......@@ -6,7 +6,7 @@
#include "arch.h"
#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"
......
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