curuvar commented on code in PR #6615: URL: https://github.com/apache/incubator-nuttx/pull/6615#discussion_r922124150
########## include/nuttx/i2c/i2c_slave.h: ########## @@ -164,6 +208,8 @@ struct i2c_slaveops_s int buflen); int (*registercallback)(FAR struct i2c_slave_s *dev, int (*callback)(FAR void *arg), FAR void *arg); + int (*registercallback_len)(FAR struct i2c_slave_s *dev, + int (*callback_len)(FAR void *arg, size_t rx_len), FAR void *arg); Review Comment: I modified the original callback to include the length and removed the second one. -- 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