use the safe DWT::unlock API

instead of a unsafe write_volatile call
This commit is contained in:
Jorge Aparicio 2020-01-21 22:13:23 +01:00
parent 6b0a2df41c
commit 60639b3a9c
2 changed files with 5 additions and 3 deletions

View file

@ -47,7 +47,7 @@ name = "types"
required-features = ["__v7"]
[dependencies]
cortex-m = "0.6.0"
cortex-m = "0.6.2"
cortex-m-rtfm-macros = { path = "macros", version = "0.5.0" }
rtfm-core = "0.3.0"
cortex-m-rt = "0.6.9"