mirror of
https://github.com/brmlab/kalibrate-rtl.git
synced 2025-08-01 21:53:37 +02:00
remove unused, uninitialized overrun-flag
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
bcb8173578
commit
912f946144
1 changed files with 0 additions and 3 deletions
|
@ -206,7 +206,6 @@ int usrp_source::open(unsigned int subdev) {
|
|||
|
||||
int usrp_source::fill(unsigned int num_samples, unsigned int *overrun_i) {
|
||||
|
||||
bool overrun;
|
||||
unsigned char ubuf[USB_PACKET_SIZE];
|
||||
unsigned int i, j, space, overruns = 0;
|
||||
complex *c;
|
||||
|
@ -224,8 +223,6 @@ int usrp_source::fill(unsigned int num_samples, unsigned int *overrun_i) {
|
|||
}
|
||||
|
||||
pthread_mutex_unlock(&m_u_mutex);
|
||||
if(overrun)
|
||||
overruns++;
|
||||
|
||||
// write complex<short> input to complex<float> output
|
||||
c = (complex *)m_cb->poke(&space);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue