mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 21:11:31 +11:00
Merge branch 'uart' of github.com:Nic0w/rp-hal into uart
This commit is contained in:
commit
920d0dc897
|
@ -230,12 +230,12 @@ impl<D: UARTDevice> UARTPeripheral<Enabled, D> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bytes_written += 1;
|
|
||||||
|
|
||||||
self.device.uartdr.write(|w| unsafe {
|
self.device.uartdr.write(|w| unsafe {
|
||||||
w.data().bits(*c);
|
w.data().bits(*c);
|
||||||
w
|
w
|
||||||
})
|
});
|
||||||
|
|
||||||
|
bytes_written += 1;
|
||||||
}
|
}
|
||||||
return Ok(&data[bytes_written..])
|
return Ok(&data[bytes_written..])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue