Fix missed scan -> sweep changes

This commit is contained in:
Dominic Spill
2016-07-27 07:59:10 +01:00
committed by Mike Walters
parent 86bde9f4c2
commit dc0b5a5798
3 changed files with 8 additions and 8 deletions

View File

@@ -337,7 +337,7 @@ int main(int argc, char** argv) {
}
/* DGS FIXME: allow upper and lower frequencies to be set */
result = hackrf_init_scan(device, 50, 6000, 10);
result = hackrf_init_sweep(device, 50, 6000, 10);
if( result != HACKRF_SUCCESS ) {
fprintf(stderr, "hackrf_init_scan() failed: %s (%d)\n",
hackrf_error_name(result), result);