Skip to content

Commit

Permalink
Merge pull request #187 from flipperzero-rs/github-actions/update-bin…
Browse files Browse the repository at this point in the history
…dings/sdk/1.1.2

build(bindings): bump SDK to `1.1.2`
  • Loading branch information
dcoles authored Nov 12, 2024
2 parents b8334f2 + 57531a0 commit 4fd314d
Show file tree
Hide file tree
Showing 2 changed files with 2,166 additions and 2,046 deletions.
6 changes: 5 additions & 1 deletion crates/flipperzero/src/furi/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ impl Builder {
let callback: sys::FuriThreadCallback = Some(run_thread_body);
let context = Box::into_raw(thread_body);

unsafe extern "C" fn run_state_callback(state: sys::FuriThreadState, context: *mut c_void) {
unsafe extern "C" fn run_state_callback(
_thread: *mut sys::FuriThread,
state: sys::FuriThreadState,
context: *mut c_void,
) {
if state == sys::FuriThreadState_FuriThreadStateStopped {
// SAFETY: We can drop the `Arc<Thread>` at the end of this function call,
// because:
Expand Down
Loading

0 comments on commit 4fd314d

Please sign in to comment.