mirror of
				https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
				synced 2025-10-31 19:41:04 +00:00 
			
		
		
		
	Fix independant protocols build
This commit is contained in:
		
							parent
							
								
									0984a42fe5
								
							
						
					
					
						commit
						b21e8030b3
					
				| @ -39,7 +39,7 @@ uint16_t FrSkyX_crc(uint8_t *data, uint8_t len, uint8_t init=0) | |||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| #if defined(FRSKYD_CC2500_INO) || defined(FRSKYX_CC2500_INO) || defined(FRSKYX_CC2500_INO) | #if defined(FRSKYD_CC2500_INO) || defined(FRSKYX_CC2500_INO) || defined(FRSKYX_CC2500_INO) || defined(FRSKYL_CC2500_INO) || defined(FRSKY_RX_CC2500_INO) | ||||||
| enum { | enum { | ||||||
| 	FRSKY_BIND		= 0, | 	FRSKY_BIND		= 0, | ||||||
| 	FRSKY_BIND_DONE	= 1000, | 	FRSKY_BIND_DONE	= 1000, | ||||||
|  | |||||||
| @ -79,6 +79,11 @@ | |||||||
| 		#error "The FrSkyD forced frequency tuning value is outside of the range -127..127." | 		#error "The FrSkyD forced frequency tuning value is outside of the range -127..127." | ||||||
| 	#endif | 	#endif | ||||||
| #endif | #endif | ||||||
|  | #ifdef FORCE_FRSKYL_TUNING | ||||||
|  | 	#if ( FORCE_FRSKYL_TUNING < -127 ) || ( FORCE_FRSKYL_TUNING > 127 ) | ||||||
|  | 		#error "The FrSkyL forced frequency tuning value is outside of the range -127..127." | ||||||
|  | 	#endif | ||||||
|  | #endif | ||||||
| #ifdef FORCE_FRSKYV_TUNING | #ifdef FORCE_FRSKYV_TUNING | ||||||
| 	#if ( FORCE_FRSKYV_TUNING < -127 ) || ( FORCE_FRSKYV_TUNING > 127 ) | 	#if ( FORCE_FRSKYV_TUNING < -127 ) || ( FORCE_FRSKYV_TUNING > 127 ) | ||||||
| 		#error "The FrSkyV forced frequency tuning value is outside of the range -127..127." | 		#error "The FrSkyV forced frequency tuning value is outside of the range -127..127." | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user