mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-11-15 21:21:11 +00:00
Update embedded-workshop-book/src/enabling-uarte.md
Co-authored-by: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
This commit is contained in:
parent
7e9bf1bbc6
commit
2355def66b
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ fn is_uarte_enabled(uarte: &UARTE0) {
|
|||
|
||||
### Step 5: Enable the peripheral safely.
|
||||
|
||||
Enable the peripheral safely by passing `w.enable().enabled()` in the closure of `write()`. Call the helper function after this new line and run your code.
|
||||
Enable the peripheral safely by passing `w.enable().enabled()` in the closure of a call to `write()` on the `enable` field of our UARTE object. Call the helper function after this new line and run your code.
|
||||
|
||||
It should print:
|
||||
|
||||
|
|
Loading…
Reference in a new issue