Add support for RadioMaster Bandit Nano (#4005)

* Add support for RadioMaster Bandit Nano

* Add fan to init and sleep
This commit is contained in:
Ben Meadors
2024-05-31 10:56:04 -05:00
committed by GitHub
parent 953aa4d091
commit 17142f8778
6 changed files with 136 additions and 5 deletions

View File

@@ -42,7 +42,11 @@ int16_t RadioLibRF95::begin(float freq, float bw, uint8_t sf, uint8_t cr, uint8_
state = setCodingRate(cr);
RADIOLIB_ASSERT(state);
#ifdef USE_RF95_RFO
state = setOutputPower(power, true);
#else
state = setOutputPower(power);
#endif
RADIOLIB_ASSERT(state);
state = setGain(gain);