mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-24 04:32:52 +01:00
Modify macro tests, use mod instead of const
This commit is contained in:
parent
0c7a619432
commit
2881cc8f43
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ fn analyze() {
|
|||
let (app, analysis) = rtic_syntax::parse2(
|
||||
quote!(device = pac),
|
||||
quote!(
|
||||
const APP: () = {
|
||||
mod app {
|
||||
#[task(priority = 1)]
|
||||
fn a(_: a::Context) {}
|
||||
|
||||
|
@ -20,7 +20,7 @@ fn analyze() {
|
|||
fn B();
|
||||
fn A();
|
||||
}
|
||||
};
|
||||
}
|
||||
),
|
||||
settings,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue