We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657c50b commit f33d027Copy full SHA for f33d027
hal/src/sercom/i2c/reg.rs
@@ -478,6 +478,8 @@ impl<S: Sercom> Registers<S> {
478
/// without a repeated start condition in between
479
#[inline]
480
pub(super) fn continue_read(&mut self, buffer: &mut [u8]) -> Result<(), Error> {
481
+ // Ensure the next read is properly initialized
482
+ self.cmd_read();
483
self.fill_buffer(buffer)
484
}
485
0 commit comments