Initial configuration.h -> variants refactor (#1104)

* Initial configuration to variants refactor
This commit is contained in:
Ben Meadors
2022-01-18 18:35:42 -06:00
committed by GitHub
parent 9f0ddda6ca
commit 4e3fda87a1
19 changed files with 414 additions and 636 deletions

7
src/RF95Configuration.h Normal file
View File

@@ -0,0 +1,7 @@
// TODO refactor this out with better radio configuration system
#ifdef USE_RF95
#define RF95_RESET LORA_RESET
#define RF95_IRQ LORA_DIO0 // on SX1262 version this is a no connect DIO0
#define RF95_DIO1 LORA_DIO1 // Note: not really used for RF95
#define RF95_DIO2 LORA_DIO2 // Note: not really used for RF95
#endif