summaryrefslogtreecommitdiff
path: root/hw/sdr.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-10-09 23:11:31 +0100
committerFreeArtMan <dos21h@gmail.com>2015-10-09 23:11:31 +0100
commita58b75e38a7ec3ea48ccc6edcd8d8c0e135518b4 (patch)
tree4f506b096cd5166ceb9b9227a04a9e7b83a3f36f /hw/sdr.h
parent54ac5a3d36b5fd68339a7f4753d862fd21af9389 (diff)
downloadradiola-a58b75e38a7ec3ea48ccc6edcd8d8c0e135518b4.tar.gz
radiola-a58b75e38a7ec3ea48ccc6edcd8d8c0e135518b4.zip
Moved dongle functionality to sdr_t from waterfall test examples
Diffstat (limited to 'hw/sdr.h')
-rw-r--r--hw/sdr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/sdr.h b/hw/sdr.h
index 5a83e8e..ce4ef70 100644
--- a/hw/sdr.h
+++ b/hw/sdr.h
@@ -66,7 +66,7 @@ int sdr_open_device( sdr_t *sdr, int dev_index );
//get device structure from sdr manager
-dongle_t* sdr_get_device( sdr_t *sdr, int dev_index);
+dongle_t* sdr_get_device_id( sdr_t *sdr, int dev_index);
//get index in list of devices of structure from outer device index
//? do we need?
@@ -91,9 +91,9 @@ int dongle_set_agc( dongle_t *dongle, int mode);
int dongle_set_sample_rate( dongle_t *dongle, uint32_t rate );
uint32_t dongle_get_freq( dongle_t *dongle );
-int dongle_get_gain( dongle_t *dongle );
+int dongle_get_gain( dongle_t *dongle );
uint32_t dongle_get_sample_rate( dongle_t *dongle );
-int dongle_read_samples( dongle_t *dongle, uint8_t *buf, int len );
+int dongle_read_samples( dongle_t *dongle, uint8_t *buf, int len );
//int dongle_close();
#endif \ No newline at end of file