mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 14:25:18 +01:00
reword the comments in compile-fail tests
This commit is contained in:
parent
1c82f1b119
commit
eea8030083
11 changed files with 129 additions and 73 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
#![feature(used)]
|
||||
|
||||
extern crate core;
|
||||
extern crate cortex_m;
|
||||
#[macro_use]
|
||||
extern crate cortex_m_rtfm as rtfm;
|
||||
|
||||
|
|
@ -23,6 +21,10 @@ fn idle(_: P0) -> ! {
|
|||
// Wrong task token. Declared Exti0, got Exti1
|
||||
fn j1(_task: Exti1, _prio: P1) {}
|
||||
|
||||
// fake device crate
|
||||
extern crate core;
|
||||
extern crate cortex_m;
|
||||
|
||||
mod device {
|
||||
pub mod interrupt {
|
||||
use cortex_m::interrupt::Nr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue