mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-02-23 23:57:43 +11:00
Merge branch 'uart' of github.com:Nic0w/rp-hal into uart
This commit is contained in:
commit
920d0dc897
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue