RB-tel commented on a change in pull request #1622:
URL: https://github.com/apache/incubator-nuttx/pull/1622#discussion_r478378104



##########
File path: boards/renesas/rx65n/rx65n-grrose/src/rx65n_bringup.c
##########
@@ -129,6 +133,41 @@ int rx65n_bringup(void)
   /* Initialize battery-backed RAM */
 
   (void)rx65n_sbram_int();
+#endif
+#ifdef HAVE_RIIC_DRIVER
+  FAR struct i2c_master_s *i2c;
+
+  /* Get the I2C lower half instance */
+#ifdef CONFIG_RX65N_RIIC0
+  #ifdef CONFIG_RX65N_SCI2
+    i2cerr("Port is initialized for RIIC0. SCI2 cannot be used\n");
+  #endif
+  riic0_init_port();
+  i2c = rx65n_i2cbus_initialize(0);
+  if (i2c == NULL)
+    {
+      i2cerr("ERROR: Initialization of RIIC Channel 0 failed: %d\n", ret);
+    }
+

Review comment:
       corrected

##########
File path: boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_bringup.c
##########
@@ -129,6 +133,51 @@ int rx65n_bringup(void)
   /* Initialize standby RAM */
 
   (void)rx65n_sbram_int();
+#endif
+#ifdef HAVE_RIIC_DRIVER
+  FAR struct i2c_master_s *i2c;
+
+  /* Get the I2C lower half instance */

Review comment:
       corrected




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to