From a6e5e403fe377ae20efe1d0aef1808e02d7bcea1 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 11 Oct 2015 14:22:51 +0100 Subject: Add options to choose frequency and sample rate and device in gl waterfall --- hw/sdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/sdr.c') diff --git a/hw/sdr.c b/hw/sdr.c index 5bdf21e..4675ce2 100644 --- a/hw/sdr.c +++ b/hw/sdr.c @@ -157,7 +157,7 @@ int sdr_close( sdr_t *sdr ) { if ( sdr->dongle != NULL ) { - if ( sdr->dongle->dev == NULL ) + if ( sdr->dongle->dev != NULL ) { hw_close( sdr->dongle->dev ); free( sdr->dongle->dev ); -- cgit v1.2.3