summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-10-11 14:22:51 +0100
committerFreeArtMan <dos21h@gmail.com>2015-10-11 14:22:51 +0100
commita6e5e403fe377ae20efe1d0aef1808e02d7bcea1 (patch)
tree6888bb36b7db325a75102beeb928b7f6af832084 /hw
parenta58b75e38a7ec3ea48ccc6edcd8d8c0e135518b4 (diff)
downloadradiola-a6e5e403fe377ae20efe1d0aef1808e02d7bcea1.tar.gz
radiola-a6e5e403fe377ae20efe1d0aef1808e02d7bcea1.zip
Add options to choose frequency and sample rate and device in gl waterfall
Diffstat (limited to 'hw')
-rw-r--r--hw/sdr.c2
1 files changed, 1 insertions, 1 deletions
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 );