Skip to content

Commit

Permalink
thread: adapt to API change of thread_measure_stack_free()
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed May 31, 2024
1 parent ea8d7fa commit c1cbf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread/riot_c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl KernelPID {
// alter the signatures and b) it's easier to use on the Rust side with a clear type.
start: unsafe { (*thread).stack_start as _ },
size: unsafe { (*thread).stack_size as _ },
free: unsafe { riot_sys::thread_measure_stack_free((*thread).stack_start) }
free: unsafe { riot_sys::inline::thread_measure_stack_free(thread as riot_sys::inline::_thread) }
as usize,
});
}
Expand Down

0 comments on commit c1cbf0c

Please sign in to comment.