| 
									
										
										
										
											2017-11-30 20:12:23 +01:00
										 |  |  | /* | 
					
						
							|  |  |  |    This file is meant to keep your settings after an upgrade of the multi source. | 
					
						
							|  |  |  |    If you know parameters you want for sure to be enabled or disabled in future | 
					
						
							|  |  |  |    then just force their values here. | 
					
						
							|  |  |  |    To enable  a setting use #define <setting name> | 
					
						
							|  |  |  |    To disable a setting use #undef  <setting name> | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-30 12:53:00 +01:00
										 |  |  | // For example you can also define multiple module configurations, uncomment the one you want to compile for: | 
					
						
							|  |  |  | #define Module_1 | 
					
						
							|  |  |  | //#define Module_2 | 
					
						
							|  |  |  | //#define Module_2 | 
					
						
							|  |  |  | //#define Module_4 | 
					
						
							| 
									
										
										
										
											2017-11-30 13:00:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-30 12:53:00 +01:00
										 |  |  | //Example on how to force the "Flash from TX" feature for all modules | 
					
						
							| 
									
										
										
										
											2017-11-30 20:12:23 +01:00
										 |  |  | #define CHECK_FOR_BOOTLOADER | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-30 12:53:00 +01:00
										 |  |  | //Example on how to force the same ID for all modules: be carefull this is really if you want to be able to use one or another radio but not both! | 
					
						
							|  |  |  | //#define FORCE_GLOBAL_ID	0x12345678 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #if defined Module_1 | 
					
						
							|  |  |  | 	//Example on how to remove unwanted protocols to fit in flash for Atmega 328 modules | 
					
						
							| 
									
										
										
										
											2017-11-30 13:00:10 +01:00
										 |  |  | 	#undef	AFHDS2A_A7105_INO | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	#undef	DEVO_CYRF6936_INO | 
					
						
							|  |  |  | 	#undef	J6PRO_CYRF6936_INO | 
					
						
							|  |  |  | 	#undef	WK2x01_CYRF6936_INO | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	#undef	FRSKYV_CC2500_INO | 
					
						
							|  |  |  | 	#undef	FRSKYX_CC2500_INO | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	#undef	KN_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	SLT_NRF24L01_INO | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	#undef	FY326_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	FQ777_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	ASSAN_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	HONTAI_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	Q303_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	GW008_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	DM002_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	CABELL_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	ESKY150_NRF24L01_INO | 
					
						
							|  |  |  | 	#undef	H8_3D_NRF24L01_INO | 
					
						
							| 
									
										
										
										
											2018-01-30 12:53:00 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-04 16:08:29 +02:00
										 |  |  | #elif defined Module_2 | 
					
						
							| 
									
										
										
										
											2018-01-30 12:53:00 +01:00
										 |  |  | 	//Example of a module which doesn't need the telemetry signal to be inverted | 
					
						
							|  |  |  | 	#undef INVERT_TELEMETRY | 
					
						
							|  |  |  | 	 | 
					
						
							| 
									
										
										
										
											2018-05-04 16:08:29 +02:00
										 |  |  | #elif defined Module_3 | 
					
						
							| 
									
										
										
										
											2018-01-30 12:53:00 +01:00
										 |  |  | 	//Example of a module which will be used with OpenTX | 
					
						
							|  |  |  | 	#undef MULTI_STATUS | 
					
						
							|  |  |  | 	#define MULTI_TELEMETRY | 
					
						
							|  |  |  | 	 | 
					
						
							| 
									
										
										
										
											2018-05-04 16:08:29 +02:00
										 |  |  | #elif defined Module_4 | 
					
						
							| 
									
										
										
										
											2018-01-30 12:53:00 +01:00
										 |  |  | 	//Example of a module which will be PPM only | 
					
						
							|  |  |  | 	#undef ENABLE_SERIAL | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-30 13:00:10 +01:00
										 |  |  | #endif |