donghengqaz commented on a change in pull request #1610:
URL: https://github.com/apache/incubator-nuttx/pull/1610#discussion_r473909668



##########
File path: arch/xtensa/src/esp32/esp32_spi.c
##########
@@ -158,6 +190,20 @@ static void esp32_spi_deinit(FAR struct spi_dev_s *dev);
  * Public Function Prototypes
  ****************************************************************************/
 
+extern uint8_t esp32_spi2_status(FAR struct spi_dev_s *dev, uint32_t devid);
+extern uint8_t esp32_spi3_status(FAR struct spi_dev_s *dev, uint32_t devid);
+
+/* Use board level CS select function */
+
+#ifdef CONFIG_ESP32_SPI_UDCS
+extern void esp32_spi2_select(FAR struct spi_dev_s *dev,
+                              uint32_t devid,
+                              bool selected);
+extern void esp32_spi3_select(FAR struct spi_dev_s *dev,
+                              uint32_t devid,
+                              bool selected);
+#endif
+

Review comment:
       I will remove these including `esp32_spi2_status` and 
`esp32_spi3_status`, I see they are both prototyped in the header file.




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