bin/pwn_gqrx_scanner in pwn-0.5.49 vs bin/pwn_gqrx_scanner in pwn-0.5.50

- old
+ new

@@ -32,11 +32,11 @@ options.on('-PPLACE', '--precision=PLACE', '<Optional - Precision of Frequency 1-9 (Defaults to 3)>') do |p| opts[:precision] = p end - options.on('-SFLOAT', '--sleep-between-hops=FLOAT', '<Optional - Time to Sleep Between Hops (Defaults to 0.01)>') do |s| + options.on('-SFLOAT', '--sleep-between-hops=FLOAT', '<Optional - Float to Sleep Between Hops (Defaults to 0)>') do |s| opts[:sleep_between_hops] = s end end.parse! if opts.empty? @@ -131,10 +131,10 @@ precision = opts[:precision] ||= 3 precision = precision.to_i raise "ERROR: Invalid precision: #{precision}" unless (1..9).include?(precision) - sleep_between_hops = opts[:sleep_between_hops] ||= 0.01 + sleep_between_hops = opts[:sleep_between_hops] ||= 0 sleep_between_hops = sleep_between_hops.to_f scan_range( gqrx_sock: gqrx_sock, start_freq: start_freq,