Skip to content

Commit bd0a001

Browse files
ymleung314fabiobaltieri
authored andcommitted
drivers: icm42688: fix missing compile time log level
The icm42688 driver RTIO stream module does not specify a compile time log level. Thus, CONFIG_SENSOR_LOG_LEVEL_DBG is ignored. Fixed by specifying log level on log module declaration. Signed-off-by: Yau-ming Leung <ymleung314@gmail.com>
1 parent 945f7d8 commit bd0a001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/sensor/tdk/icm42688/icm42688_rtio_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "icm42688_reg.h"
1212
#include "icm42688_rtio.h"
1313

14-
LOG_MODULE_DECLARE(ICM42688_RTIO);
14+
LOG_MODULE_DECLARE(ICM42688_RTIO, CONFIG_SENSOR_LOG_LEVEL);
1515

1616
void icm42688_submit_stream(const struct device *sensor, struct rtio_iodev_sqe *iodev_sqe)
1717
{

0 commit comments

Comments
 (0)