mirror of
				https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
				synced 2025-11-04 06:51:03 +00:00 
			
		
		
		
	V2x2: fix?
This commit is contained in:
		
							parent
							
								
									5c59cddc7a
								
							
						
					
					
						commit
						64419a6cf4
					
				@ -19,7 +19,7 @@
 | 
				
			|||||||
#define VERSION_MAJOR		1
 | 
					#define VERSION_MAJOR		1
 | 
				
			||||||
#define VERSION_MINOR		3
 | 
					#define VERSION_MINOR		3
 | 
				
			||||||
#define VERSION_REVISION	1
 | 
					#define VERSION_REVISION	1
 | 
				
			||||||
#define VERSION_PATCH_LEVEL	37
 | 
					#define VERSION_PATCH_LEVEL	38
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//******************
 | 
					//******************
 | 
				
			||||||
// Protocols
 | 
					// Protocols
 | 
				
			||||||
 | 
				
			|||||||
@ -118,10 +118,13 @@ static void __attribute__((unused)) V2X2_set_tx_id(void)
 | 
				
			|||||||
		hopping_frequency[i] = (val & 0x0f) ? val : val - 3;
 | 
							hopping_frequency[i] = (val & 0x0f) ? val : val - 3;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	#ifdef V2X2_MR101_FORCE_ID
 | 
						#ifdef V2X2_MR101_FORCE_ID
 | 
				
			||||||
 | 
						if(sub_protocol==V2X2_MR101)
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
		rx_tx_addr[1]=0x83;
 | 
							rx_tx_addr[1]=0x83;
 | 
				
			||||||
		rx_tx_addr[2]=0x03;
 | 
							rx_tx_addr[2]=0x03;
 | 
				
			||||||
		rx_tx_addr[3]=0xAE;
 | 
							rx_tx_addr[3]=0xAE;
 | 
				
			||||||
		memcpy(hopping_frequency,"\x05\x12\x08\x0C\x04\x0E\x10",7);
 | 
							memcpy(hopping_frequency,"\x05\x12\x08\x0C\x04\x0E\x10",7);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	#endif
 | 
						#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user