Skip to content

Commit e5f94a0

Browse files
committed
Fix breaking change in cortex-m 0.5.11.
Fix it by sticking with cortex-m 0.5.6.
1 parent 5747303 commit e5f94a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/11-usart/auxiliary/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "aux11"
55
version = "0.1.0"
66

77
[dependencies]
8-
cortex-m = "0.5.6"
8+
cortex-m = "=0.5.6" # 0.5.11 introduces a breaking change. Use 0.5.6, since we know it works for this example
99
cortex-m-rt = "0.6.3"
1010
panic-itm = "0.4.0"
1111

0 commit comments

Comments
 (0)