xiaoxiang781216 commented on code in PR #7472: URL: https://github.com/apache/incubator-nuttx/pull/7472#discussion_r1011966134
########## arch/arm/src/samd2l2/sam_i2c_master.c: ########## @@ -255,6 +255,14 @@ static void i2c_pad_configure(struct sam_i2c_dev_s *priv); * Private Data ****************************************************************************/ +static const struct i2c_ops_s g_i2cops = +{ + .transfer = sam_i2c_transfer, +#ifdef CONFIG_I2C_RESET + .reset = sam_i2c_reset, +#endif +}; + Review Comment: yes -- 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