kopia lustrzana https://github.com/Hamlib/Hamlib
				
				
				
			Try to compensate for leftover characters
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2776 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.11
							rodzic
							
								
									61db9776a7
								
							
						
					
					
						commit
						94f2415048
					
				| 
						 | 
				
			
			@ -301,6 +301,9 @@ pcr_transaction(RIG * rig, const char *cmd)
 | 
			
		|||
		return -RIG_EPROTO;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* flush any leftover */
 | 
			
		||||
	serial_flush(&rs->rigport);
 | 
			
		||||
 | 
			
		||||
	rig_debug(RIG_DEBUG_TRACE,
 | 
			
		||||
		  "%s: got %c%c%c%c\n", __func__, buf[0], buf[1], buf[2], buf[3]);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -30,7 +30,7 @@
 | 
			
		|||
#define TOK_EL_ANL  TOKEN_BACKEND(1)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define BACKEND_VER		"0.6"
 | 
			
		||||
#define BACKEND_VER		"0.7"
 | 
			
		||||
 | 
			
		||||
#define PCR_MAX_CMD_LEN		32
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,7 +62,7 @@ const struct rig_caps pcr100_caps = {
 | 
			
		|||
	.dcd_type		= RIG_DCD_RIG,
 | 
			
		||||
	.port_type		= RIG_PORT_SERIAL,
 | 
			
		||||
 | 
			
		||||
	.serial_rate_min	= 300,
 | 
			
		||||
	.serial_rate_min	= 9600,	/* slower speeds gave troubles */
 | 
			
		||||
	.serial_rate_max	= 38400,
 | 
			
		||||
	.serial_data_bits	= 8,
 | 
			
		||||
	.serial_stop_bits	= 1,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,7 +57,7 @@ const struct rig_caps pcr1000_caps = {
 | 
			
		|||
	.dcd_type		= RIG_DCD_RIG,
 | 
			
		||||
	.port_type		= RIG_PORT_SERIAL,
 | 
			
		||||
 | 
			
		||||
	.serial_rate_min	= 300,
 | 
			
		||||
	.serial_rate_min	= 9600, /* slower speeds gave troubles */
 | 
			
		||||
	.serial_rate_max	= 38400,
 | 
			
		||||
	.serial_data_bits	= 8,
 | 
			
		||||
	.serial_stop_bits	= 1,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue