Run cargo fmt
This commit is contained in:
parent
cd561b19ef
commit
7dfe119fe0
1 changed files with 6 additions and 8 deletions
|
@ -7,17 +7,15 @@ use core::task::Poll;
|
|||
use embassy_executor::executor::Spawner;
|
||||
use embassy_executor::time::{Duration, Instant, Timer};
|
||||
use embassy_nrf::Peripherals;
|
||||
|
||||
// N.B. systemview_target cannot be used at the same time as defmt_rtt.
|
||||
|
||||
use rtos_trace;
|
||||
use systemview_target::SystemView;
|
||||
use panic_probe as _;
|
||||
#[cfg(feature = "log")]
|
||||
use log::*;
|
||||
use panic_probe as _;
|
||||
// N.B. systemview_target cannot be used at the same time as defmt_rtt.
|
||||
use rtos_trace;
|
||||
use systemview_target::SystemView;
|
||||
|
||||
static LOGGER: systemview_target::SystemView = systemview_target::SystemView::new();
|
||||
rtos_trace::global_trace!{SystemView}
|
||||
rtos_trace::global_trace! {SystemView}
|
||||
|
||||
struct TraceInfo();
|
||||
|
||||
|
@ -27,7 +25,7 @@ impl rtos_trace::RtosTraceApplicationCallbacks for TraceInfo {
|
|||
64000000
|
||||
}
|
||||
}
|
||||
rtos_trace::global_application_callbacks!{TraceInfo}
|
||||
rtos_trace::global_application_callbacks! {TraceInfo}
|
||||
|
||||
#[embassy_executor::task]
|
||||
async fn run1() {
|
||||
|
|
Loading…
Reference in a new issue