mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 13:01:30 +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 {
|
||||
w.data().bits(*c);
|
||||
w
|
||||
})
|
||||
});
|
||||
|
||||
bytes_written += 1;
|
||||
}
|
||||
return Ok(&data[bytes_written..])
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue