diff --git a/examples/bare4.rs b/examples/bare4.rs index 75fec4e08efcd477b35fd17df4e5acb38e74071a..e0782aedde69fc6b3ec530eb488d972243566b41 100644 --- a/examples/bare4.rs +++ b/examples/bare4.rs @@ -36,8 +36,8 @@ use address::*; #[inline(always)] fn read_u32(addr: u32) -> u32 { - unsafe { core::ptr::read_volatile(addr as *const _) } - //core::ptr::read_volatile(addr as *const _) + // unsafe { core::ptr::read_volatile(addr as *const _) } + core::ptr::read_volatile(addr as *const _) } #[inline(always)] @@ -84,7 +84,7 @@ fn main() -> ! { // // 1. Did you enjoy the blinking? // -// ** your answer here ** +// Absolutely // // Now lookup the data-sheets, and read each section referred, // 6.3.11, 8.4.1, 8.4.7