Skip to content

Commit

Permalink
Merge pull request greatscottgadgets#1442 from martinling/example-fix
Browse files Browse the repository at this point in the history
Correct prototype of flush callback in example code.
  • Loading branch information
martinling authored May 2, 2024
2 parents dd3b2c3 + c201c14 commit d4ed847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/libhackrf/src/hackrf.h
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSI
* return 0;
* }
*
* void flush_callback(hackrf_transfer *transfer) {
* void flush_callback(void *ctx, int success) {
* pthread_mutex_lock(&mutex);
* pthread_cond_broadcast(&cond);
* pthread_mutex_unlock(&mutex);
Expand Down

0 comments on commit d4ed847

Please sign in to comment.