mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-03 05:55:18 +01:00
Merge pull request #1442 from martinling/example-fix
Correct prototype of flush callback in example code.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user