Skip to content

Commit

Permalink
state table should not be constant-data
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueChip committed Mar 22, 2023
1 parent 264fce4 commit c8ef545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bc_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void cbDraw (Canvas* const canvas, void* ctx)
furi_assert(ctx);

// We will need access to the plugin state variables
const state_t* state = ctx; // state pointer
state_t* state = ctx; // state pointer

// Try to acquire the mutex for the plugin state variables, timeout = 25mS
// We (obviously) do not (yet) have access to the state variables,
Expand Down

0 comments on commit c8ef545

Please sign in to comment.