Skip to content

Commit

Permalink
Correct prototype of flush callback in example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Apr 11, 2024
1 parent 22c9ff1 commit c201c14
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 c201c14

Please sign in to comment.