mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-11 09:54:43 +01:00
Fix missed scan -> sweep changes
This commit is contained in:
committed by
Mike Walters
parent
86bde9f4c2
commit
dc0b5a5798
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user