mirror of
				https://github.com/brmlab/osmo-tetra.git
				synced 2025-10-30 23:14:00 +01:00 
			
		
		
		
	Demodulator: Turn 'calibration' argument from int into float
Thanks to Sim IJskes <sim@ijskes.org>
This commit is contained in:
		
							parent
							
								
									140c2f80c1
								
							
						
					
					
						commit
						cc3e322a3c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -20,7 +20,7 @@ class my_top_block(gr.top_block): | ||||||
|         gr.top_block.__init__(self) |         gr.top_block.__init__(self) | ||||||
|         parser = OptionParser(option_class=eng_option) |         parser = OptionParser(option_class=eng_option) | ||||||
| 
 | 
 | ||||||
|         parser.add_option("-c", "--calibration", type="int", default=-40000, help="freq offset") |         parser.add_option("-c", "--calibration", type="eng_float", default=0, help="freq offset") | ||||||
|         parser.add_option("-i", "--input-file", type="string", default="in.dat", help="specify the input file") |         parser.add_option("-i", "--input-file", type="string", default="in.dat", help="specify the input file") | ||||||
|         parser.add_option("-l", "--log", action="store_true", default=False, help="dump debug .dat files") |         parser.add_option("-l", "--log", action="store_true", default=False, help="dump debug .dat files") | ||||||
|         parser.add_option("-L", "--low-pass", type="eng_float", default=25e3, help="low pass cut-off", metavar="Hz") |         parser.add_option("-L", "--low-pass", type="eng_float", default=25e3, help="low pass cut-off", metavar="Hz") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Harald Welte
						Harald Welte