When a command sequence ends, the CMD_I2C_END flag is set, which is used to send a stop bit and release the bus but the Pico SDK functions have a 'nostop' parameter with the opposite logic, so this should be 'false' when CMD_I2C_END is set, and vice versa.
Thank you for looking into this, it's been a while since I had the time to look at this project. I've tested your change with a logic analyzer and it works great! Thank you.
When a command sequence ends, the CMD_I2C_END flag is set, which is used to send a stop bit and release the bus but the Pico SDK functions have a 'nostop' parameter with the opposite logic, so this should be 'false' when CMD_I2C_END is set, and vice versa.
Fixes #3