Skip to content

Commit 53fcdd1

Browse files
committed
Fix example
1 parent 7bb3088 commit 53fcdd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/embassy-stm32g4/src/bin/spawn_local.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
#![no_std]
33

44
use core::marker::PhantomData;
5+
use rtic::app;
56
use {defmt_rtt as _, panic_probe as _};
67
pub mod pac {
78
pub use embassy_stm32::pac::Interrupt as interrupt;
89
pub use embassy_stm32::pac::*;
910
}
1011

11-
#[rtic::app(device = pac, dispatchers = [SPI1])]
12+
#[app(device = pac, peripherals = false, dispatchers = [SPI1])]
1213
mod app {
13-
use crate::NotSendNotSync;
14+
use super::*;
1415

1516
#[shared]
1617
struct Shared {}

0 commit comments

Comments
 (0)