xiaoxiang781216 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r991409168
########## drivers/lcd/st7032.c: ########## @@ -146,11 +147,11 @@ static inline void st7032_write_inst(FAR struct st7032_dev_s *priv, /* Setup the ST7032 Co command */ - msg.frequency = CONFIG_ST7032_I2C_FREQ; /* I2C frequency */ - msg.addr = ST7032_I2C_ADDR; /* 7-bit address */ - msg.flags = 0; /* Write transaction, beginning with START */ - msg.buffer = (FAR uint8_t *) data; /* Transfer from this address */ - msg.length = 2; /* Send two bytes */ + msg.frequency = CONFIG_ST7032_I2C_FREQ; /* I2C frequency */ + msg.addr = ST7032_I2C_ADDR; /* 7-bit address */ + msg.flags = 0; /* Write transaction, beginning with START */ + msg.buffer =data; /* Transfer from this address */ Review Comment: Done -- 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