From d0b5039b7131fcc84f24589c9373ca5424f16393 Mon Sep 17 00:00:00 2001 From: LongHairedHacker Date: Sun, 11 Apr 2021 16:21:01 +0200 Subject: [PATCH] simplyfied layout --- src/{bin/hello.rs => main.rs} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/{bin/hello.rs => main.rs} (50%) diff --git a/src/bin/hello.rs b/src/main.rs similarity index 50% rename from src/bin/hello.rs rename to src/main.rs index 6ad0a7c..32352df 100644 --- a/src/bin/hello.rs +++ b/src/main.rs @@ -1,11 +1,11 @@ -#![no_main] #![no_std] +#![no_main] -use wspr_beacon as _; // global logger + panicking-behavior + memory layout +use wspr_beacon::exit; #[cortex_m_rt::entry] fn main() -> ! { defmt::info!("Hello, world!"); - wspr_beacon::exit() + exit() }