Skip to content

Commit

Permalink
Remove overlooked, old libairspy error handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
murrayma committed Sep 22, 2022
1 parent 68ac9f8 commit ad647e9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions air.c
Expand Up @@ -190,12 +190,6 @@ int initAirspy(char **argv, int optind)

/* init airspy */

if( result != AIRSPY_SUCCESS ) {
fprintf(stderr,"airspy_open() failed: %s (%d)\n", airspy_error_name(result), result);
airspy_exit();
return -1;
}

result = airspy_set_sample_type(device, AIRSPY_SAMPLE_FLOAT32_REAL);
if( result != AIRSPY_SUCCESS ) {
fprintf(stderr,"airspy_set_sample_type() failed: %s (%d)\n", airspy_error_name(result), result);
Expand Down

0 comments on commit ad647e9

Please sign in to comment.