-
Notifications
You must be signed in to change notification settings - Fork 989
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename REGULATORY_GAIN to REGULATORY_GAIN_LORA to allow for other RF …
…gain controls For example, Wi-Fi or BLE gain control (#3962) Signed-off-by: Andrew Yong <[email protected]>
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,12 +144,12 @@ static const uint8_t SCK = PIN_SPI_SCK; | |
#define SX126X_DIO3_TCXO_VOLTAGE 1.8 | ||
#ifdef EBYTE_E22_900M30S | ||
// 10dB PA gain and 30dB rated output; based on PA output table from Ebyte Robin <[email protected]> | ||
#define REGULATORY_GAIN 10 | ||
#define REGULATORY_GAIN_LORA 10 | ||
#define SX126X_MAX_POWER 20 | ||
#endif | ||
#ifdef EBYTE_E22_900M33S | ||
// 25dB PA gain and 33dB rated output; based on TX Power Curve from E22-900M33S_UserManual_EN_v1.0.pdf | ||
#define REGULATORY_GAIN 25 | ||
#define REGULATORY_GAIN_LORA 25 | ||
#define SX126X_MAX_POWER 8 | ||
#endif | ||
#endif | ||
|