diff options
Diffstat (limited to 'zephyr/emul/i2c_mock.c')
-rw-r--r-- | zephyr/emul/i2c_mock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/emul/i2c_mock.c b/zephyr/emul/i2c_mock.c index c906e76c13..8601c87ee7 100644 --- a/zephyr/emul/i2c_mock.c +++ b/zephyr/emul/i2c_mock.c @@ -3,13 +3,13 @@ * found in the LICENSE file. */ -#include "emul/emul_common_i2c.h" -#include "emul/emul_stub_device.h" +#define DT_DRV_COMPAT cros_i2c_mock #include <zephyr/device.h> #include <zephyr/logging/log.h> -#define DT_DRV_COMPAT cros_i2c_mock +#include "emul/emul_common_i2c.h" +#include "emul/emul_stub_device.h" LOG_MODULE_REGISTER(i2c_mock, CONFIG_I2C_MOCK_LOG_LEVEL); |