hiragane-mitty commented on code in PR #9105: URL: https://github.com/apache/nuttx/pull/9105#discussion_r1178681793
########## include/nuttx/spi/spi_bitbang.h: ########## @@ -88,6 +88,7 @@ struct spi_bitbang_s uint32_t holdtime; /* SCK hold time to achieve requested frequency */ bitexchange_t exchange; /* The select bit exchange function */ mutex_t lock; /* Supports mutually exclusive access to SPI */ + FAR void *priv; /* Private data for instance specific */ Review Comment: @xiaoxiang781216 Anyone can use it. bitbang is kind of SPI upper driver, so lower driver can keep any data for the lower. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
