mirror of
				https://github.com/rtlsdrblog/rtl-sdr-blog.git
				synced 2025-10-31 17:08:09 +01:00 
			
		
		
		
	rtl_tcp: add handler for freq correction command
This commit is contained in:
		| @@ -287,10 +287,14 @@ static void *command_worker(void *arg) | ||||
| 			printf("set gain mode %d\n", cmd.param); | ||||
| 			rtlsdr_set_tuner_gain_mode(dev, cmd.param); | ||||
| 			break; | ||||
| 		case 0x04: | ||||
|         case 0x04: | ||||
| 			printf("set gain %d\n", cmd.param); | ||||
| 			rtlsdr_set_tuner_gain(dev, cmd.param); | ||||
| 			break; | ||||
| 		case 0x05: | ||||
| 			printf("set freq correction %d\n", cmd.param); | ||||
| 			rtlsdr_set_freq_correction(dev, cmd.param); | ||||
| 			break; | ||||
| 		default: | ||||
| 			break; | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user