fix some warnings

This commit is contained in:
Jorge Aparicio
2018-08-28 14:54:40 +02:00
parent 0eaa0de3c6
commit 7bb74b2123
2 changed files with 2 additions and 4 deletions

View File

@@ -21,14 +21,13 @@
extern crate cortex_m;
#[macro_use(entry, exception)]
#[macro_use(entry)]
extern crate cortex_m_rt as rt;
// makes `panic!` print messages to the host stderr using semihosting
extern crate panic_semihosting;
use cortex_m::asm;
use rt::ExceptionFrame;
// the program entry point is ...
entry!(main);