Skip to content

Commit

Permalink
fix unused task_slot in test build
Browse files Browse the repository at this point in the history
  • Loading branch information
aapoalas committed Oct 11, 2024
1 parent 7badf90 commit 4397cf6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drv/stm32xx-sys/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,11 @@ use idol_runtime::{ClientError, NotificationHandler, RequestError};
#[cfg(not(feature = "test"))]
use task_jefe_api::{Jefe, ResetReason};

#[cfg(not(feature = "test"))]
use userlib::task_slot;
#[cfg(feature = "exti")]
use userlib::{sys_irq_control, sys_post, sys_refresh_task_id, TaskId};
use userlib::{task_slot, FromPrimitive, RecvMessage};
use userlib::{FromPrimitive, RecvMessage};

#[cfg(not(feature = "test"))]
task_slot!(JEFE, jefe);
Expand Down

0 comments on commit 4397cf6

Please sign in to comment.