aboutsummaryrefslogtreecommitdiff
path: root/src/itm.rs
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2019-07-29 13:52:29 -0600
committerGravatar Adam Greig <adam@adamgreig.com> 2019-07-29 13:52:29 -0600
commitac7eaef31a01258a90aa786bbce4d47b17e207c6 (patch)
tree2849d31f22193c432ee255527633a1c5fa072fca /src/itm.rs
parent6a213910f7f8920906c2f8882cbc1f1a3ebc3627 (diff)
downloadcortex-m-ac7eaef31a01258a90aa786bbce4d47b17e207c6.tar.gz
cortex-m-ac7eaef31a01258a90aa786bbce4d47b17e207c6.tar.zst
cortex-m-ac7eaef31a01258a90aa786bbce4d47b17e207c6.zip
Update for 2018 edition
Diffstat (limited to 'src/itm.rs')
-rw-r--r--src/itm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/itm.rs b/src/itm.rs
index 4f8dcf8..6e936d8 100644
--- a/src/itm.rs
+++ b/src/itm.rs
@@ -6,7 +6,7 @@ use core::{fmt, mem, ptr, slice};
use aligned::{Aligned, A4};
-use peripheral::itm::Stim;
+use crate::peripheral::itm::Stim;
// NOTE assumes that `bytes` is 32-bit aligned
unsafe fn write_words(stim: &mut Stim, bytes: &[u32]) {