simbit18 commented on code in PR #16838:
URL: https://github.com/apache/nuttx/pull/16838#discussion_r2284830562


##########
boards/arm/rp2040/common/src/rp2040_common_bringup.c:
##########
@@ -569,6 +573,16 @@ int rp2040_common_bringup(void)
     }
 #endif
 
+#ifdef CONFIG_SENSORS_TMP112
+  /* Try to register TMP112 device at I2C0 with a common address */
+
+  ret = board_tmp112_initialize(rp2040_i2cbus_initialize(0), 0, 0x48);

Review Comment:
   Hi @nmaggioni , perhaps here it is necessary to use  tmp112_register ?
   
   
https://github.com/apache/nuttx/blob/a28cf99d13669fec2f401779c6aa3724d49d9659/drivers/sensors/tmp112.c#L269



-- 
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