mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-02 14:46:16 -04:00
Add todo
This commit is contained in:
parent
ba2d36add9
commit
fee8d2b28b
1 changed files with 3 additions and 0 deletions
|
@ -965,6 +965,9 @@ void set_implicit_length(uint8_t len) {
|
|||
}
|
||||
|
||||
void setTXPower(RadioInterface* radio, int txp) {
|
||||
// Todo, revamp this function. The current parameters for setTxPower are
|
||||
// suboptimal, as some chips have power amplifiers which means that the max
|
||||
// dBm is not always the same.
|
||||
if (model == MODEL_11) {
|
||||
if (interfaces[radio->getIndex()] == SX128X) {
|
||||
radio->setTxPower(txp, PA_OUTPUT_PA_BOOST_PIN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue