Skip to content

Commit 2d38b43

Browse files
committed
Fix warnings
1 parent 7cb9fd7 commit 2d38b43

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tm4c129x-hal/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
//!
2121
//! [`f3`]: https://docs.rs/f3/~0.5.1
2222
23-
#![feature(try_from)]
2423
// #![deny(missing_docs)]
2524
// #![deny(warnings)]
2625
#![no_std]

tm4c129x-hal/src/sysctl.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
use crate::bb;
2525
use crate::time::{Hertz, U32Ext};
2626
use cortex_m::asm::nop;
27-
use tm4c129x;
2827

2928
pub use tm4c_hal::sysctl::*;
3029

@@ -1009,7 +1008,6 @@ pub mod chip_id {
10091008
/// Read DID0 and DID1 to discover what sort of
10101009
/// TM4C129 this is.
10111010
pub fn get() -> Result<ChipId, Error> {
1012-
use tm4c129x;
10131011
// This is safe as it's read only
10141012
let p = unsafe { &*tm4c129x::SYSCTL::ptr() };
10151013
let did0 = p.did0.read();

0 commit comments

Comments
 (0)