Remove debug code
This commit is contained in:
parent
ea67940743
commit
9a21d74273
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user