acassis commented on code in PR #12347:
URL: https://github.com/apache/nuttx/pull/12347#discussion_r1600809008


##########
boards/arm/stm32l4/nucleo-l476rg/src/stm32_appinit.c:
##########
@@ -448,6 +452,21 @@ int board_app_initialize(uintptr_t arg)
     }
 #endif
 
+#ifdef CONFIG_SENSORS_MPU9250
+  /* Try to register MPU9250 device in I2C1 */
+
+  ret = board_mpu9250_initialize(0, 1);
+

Review Comment:
   Please remove this empty line between return and the if test. I missed it in 
your bmp280_initialize, so please remove it there too.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to