pkarashchenko commented on code in PR #7361:
URL: https://github.com/apache/incubator-nuttx/pull/7361#discussion_r999515265


##########
arch/xtensa/src/esp32/esp32_i2c.h:
##########
@@ -43,6 +43,14 @@ extern "C"
 #define EXTERN extern
 #endif
 
+#ifdef CONFIG_ESP32_I2C0
+  #define ESP32_I2C0 0

Review Comment:
   ```suggestion
   #  define ESP32_I2C0 0
   ```



##########
arch/xtensa/src/esp32/esp32_i2c.h:
##########
@@ -43,6 +43,14 @@ extern "C"
 #define EXTERN extern
 #endif
 
+#ifdef CONFIG_ESP32_I2C0
+  #define ESP32_I2C0 0
+#endif /* CONFIG_ESP32_I2C0 */
+
+#ifdef CONFIG_ESP32_I2C1
+  #define ESP32_I2C1 1

Review Comment:
   ```suggestion
   #  define ESP32_I2C1 1
   ```



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