Remove debug code

This commit is contained in:
Ulf Lilleengen 2021-05-26 13:08:55 +02:00
parent ea67940743
commit 9a21d74273

View File

@ -350,13 +350,6 @@ pub fn main(args: TokenStream, item: TokenStream) -> TokenStream {
#[cortex_m_rt::entry] #[cortex_m_rt::entry]
fn main() -> ! { fn main() -> ! {
rtt_init_print!();
unsafe {
log::set_logger_racy(&LOGGER).unwrap();
}
log::set_max_level(log::LevelFilter::Trace);
log::info!("Hello World!");
unsafe fn make_static<T>(t: &mut T) -> &'static mut T { unsafe fn make_static<T>(t: &mut T) -> &'static mut T {
::core::mem::transmute(t) ::core::mem::transmute(t)
} }