mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-05 07:55:36 -04:00
SX1280 EEPROM checks
This commit is contained in:
parent
52fbe558d4
commit
315bcb02a0
2 changed files with 2 additions and 3 deletions
2
Boards.h
2
Boards.h
|
@ -453,8 +453,6 @@
|
||||||
const int pin_busy = 36;
|
const int pin_busy = 36;
|
||||||
const int pin_dio = 9;
|
const int pin_dio = 9;
|
||||||
const int pin_tcxo_enable = -1;
|
const int pin_tcxo_enable = -1;
|
||||||
const int pin_rxen = -1;
|
|
||||||
const int pin_txen = -1;
|
|
||||||
#else
|
#else
|
||||||
const int pin_dio = 9;
|
const int pin_dio = 9;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1150,6 +1150,7 @@ void setTXPower() {
|
||||||
if (model == MODEL_A8) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
if (model == MODEL_A8) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
||||||
if (model == MODEL_A9) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
if (model == MODEL_A9) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
||||||
if (model == MODEL_AA) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
if (model == MODEL_AA) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
||||||
|
if (model == MODEL_AB) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
||||||
|
|
||||||
if (model == MODEL_BA) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
if (model == MODEL_BA) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
||||||
if (model == MODEL_BB) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
if (model == MODEL_BB) LoRa->setTxPower(lora_txp, PA_OUTPUT_PA_BOOST_PIN);
|
||||||
|
@ -1415,7 +1416,7 @@ bool eeprom_model_valid() {
|
||||||
#elif BOARD_MODEL == BOARD_RNODE_NG_21
|
#elif BOARD_MODEL == BOARD_RNODE_NG_21
|
||||||
if (model == MODEL_A2 || model == MODEL_A7) {
|
if (model == MODEL_A2 || model == MODEL_A7) {
|
||||||
#elif BOARD_MODEL == BOARD_RNODE_NG_22
|
#elif BOARD_MODEL == BOARD_RNODE_NG_22
|
||||||
if (model == MODEL_A1 || model == MODEL_A6 || model == MODEL_A5 || model == MODEL_AA) {
|
if (model == MODEL_A1 || model == MODEL_A6 || model == MODEL_A5 || model == MODEL_AA || model == MODEL_AB) {
|
||||||
#elif BOARD_MODEL == BOARD_HMBRW
|
#elif BOARD_MODEL == BOARD_HMBRW
|
||||||
if (model == MODEL_FF || model == MODEL_FE) {
|
if (model == MODEL_FF || model == MODEL_FE) {
|
||||||
#elif BOARD_MODEL == BOARD_TBEAM
|
#elif BOARD_MODEL == BOARD_TBEAM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue