Merge pull request #1442 from martinling/example-fix
Correct prototype of flush callback in example code.
This commit is contained in:
commit
d4ed8474e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue