mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
RFC #207
This commit is contained in:
parent
b150ab29e2
commit
4e51bb68b9
33 changed files with 143 additions and 142 deletions
|
|
@ -3,6 +3,8 @@ use rtfm_syntax::Settings;
|
|||
|
||||
#[test]
|
||||
fn analyze() {
|
||||
let mut settings = Settings::default();
|
||||
settings.parse_extern_interrupt = true;
|
||||
let (app, analysis) = rtfm_syntax::parse2(
|
||||
quote!(device = pac),
|
||||
quote!(
|
||||
|
|
@ -20,10 +22,7 @@ fn analyze() {
|
|||
}
|
||||
};
|
||||
),
|
||||
Settings {
|
||||
parse_extern_interrupt: true,
|
||||
..Settings::default()
|
||||
},
|
||||
settings,
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue