diff options
author | 2018-12-15 17:57:41 +0100 | |
---|---|---|
committer | 2018-12-15 17:58:23 +0100 | |
commit | 712aa294833012ee2f4d2ad4a065c6fba26873ed (patch) | |
tree | e44335c1c0c94b2373d506eba46b7b7cb550db7e /src | |
parent | fc22b3aa2c3cb7653e9b866882471123b77e7f1d (diff) | |
download | cortex-m-712aa294833012ee2f4d2ad4a065c6fba26873ed.tar.gz cortex-m-712aa294833012ee2f4d2ad4a065c6fba26873ed.tar.zst cortex-m-712aa294833012ee2f4d2ad4a065c6fba26873ed.zip |
Fix for error in Travis
Diffstat (limited to 'src')
-rw-r--r-- | src/peripheral/dwt.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/peripheral/dwt.rs b/src/peripheral/dwt.rs index 117889e..77ec450 100644 --- a/src/peripheral/dwt.rs +++ b/src/peripheral/dwt.rs @@ -1,6 +1,8 @@ //! Data Watchpoint and Trace unit -use volatile_register::{RO, RW, WO}; +#[cfg(not(armv6m))] +use volatile_register::WO; +use volatile_register::{RO, RW}; use peripheral::DWT; |