Skip to content

Commit

Permalink
fix example deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Nov 21, 2023
1 parent 002f8d3 commit 4c49d27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/CC1101_Receive/CC1101_Receive.ino
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ void loop()
// Add data filtering to only match the corresponding character prefix.
// If you do not add a data prefix, it may be interfered by other products with the same frequency.
if (!str.startsWith("Embed:")) {
xSemaphoreGive(radioLock);
return;
}
// remove prefix
Expand Down
Binary file not shown.

0 comments on commit 4c49d27

Please sign in to comment.