Skip to content

Commit

Permalink
Merge pull request #22 from nickbp/patch-1
Browse files Browse the repository at this point in the history
Clean up unused upper_string function
  • Loading branch information
touil authored Apr 9, 2020
2 parents dcc302e + 1d1a277 commit 8891387
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions libairspyhf/src/airspyhf.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,19 +546,6 @@ static void airspyhf_open_exit(airspyhf_device_t* device)
device->usb_context = NULL;
}

static void upper_string(unsigned char *string, size_t len)
{
while (len > 0)
{
if (*string >= 'a' && *string <= 'z')
{
*string = *string - 32;
}
string++;
len--;
}
}

static int airspyhf_read_samplerates_from_fw(airspyhf_device_t* device, uint32_t* buffer, const uint32_t len)
{
int result;
Expand Down

0 comments on commit 8891387

Please sign in to comment.