Skip to content

Commit 35abb31

Browse files
fabiobaltierikartben
authored andcommitted
i2c_shell: add missing i3c include
This is necessary for the I3C device type check, tested with: west build -p -b nucleo_h563zi samples/subsys/shell/shell_module -DCONFIG_I2C=y -DCONFIG_I2C_SHELL=y -DCONFIG_I3C=y and west build -p -b nucleo_h563zi samples/subsys/shell/shell_module -DCONFIG_I2C=y -DCONFIG_I2C_SHELL=y -DCONFIG_I3C=n Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 9b2532a commit 35abb31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/i2c_shell.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
#include <zephyr/drivers/i2c.h>
8+
#include <zephyr/drivers/i3c.h>
89
#include <zephyr/shell/shell.h>
910
#include <stdlib.h>
1011
#include <string.h>

0 commit comments

Comments
 (0)