Skip to content

Commit

Permalink
Clippy, again
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Aug 30, 2024
1 parent 888d17d commit 1dadb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp-wifi/src/preempt/preempt_xtensa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ pub fn task_create(
unsafe {
let ctx = allocate_task();

(*ctx).trap_frame.PC = task as u32;
(*ctx).trap_frame.A6 = param as u32;
(*ctx).trap_frame.PC = task as usize as u32;
(*ctx).trap_frame.A6 = param as usize as u32;

let stack = malloc(task_stack_size as u32);
(*ctx).allocated_stack = stack.cast();
Expand Down

0 comments on commit 1dadb0e

Please sign in to comment.