Skip to content

Commit f613e7a

Browse files
committed
Updates from eldruin first review
Thanks
1 parent cdf6be7 commit f613e7a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/07-registers/bad-address.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Invalid in the sense that there's no register at this address.
2929
Now, let's try it.
3030

3131
``` console
32-
cargo run
3332
$ cargo run
3433
(..)
3534
Breakpoint 1, registers::__cortex_m_rt_main_trampoline () at src/07-registers/src/main.rs:9
@@ -39,7 +38,7 @@ Breakpoint 1, registers::__cortex_m_rt_main_trampoline () at src/07-registers/sr
3938
Continuing.
4039

4140
Breakpoint 3, cortex_m_rt::HardFault_ (ef=0x20009fb0)
42-
at /home/wink/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.6.13/src/lib.rs:560
41+
at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.6.13/src/lib.rs:560
4342
560 loop {
4443

4544
(gdb)

src/07-registers/type-safe-manipulation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ fn main() -> ! {
4343
// Turn on the North LED
4444
gpioe.bsrr.write(|w| w.bs9().set_bit());
4545

46-
// Turn on the Eask LED
46+
// Turn on the East LED
4747
gpioe.bsrr.write(|w| w.bs11().set_bit());
4848

4949
// Turn off the North LED
5050
gpioe.bsrr.write(|w| w.br9().set_bit());
5151

52-
// Turn off the Eask LED
52+
// Turn off the East LED
5353
gpioe.bsrr.write(|w| w.br11().set_bit());
5454

5555
loop {}

0 commit comments

Comments
 (0)