From fee8d2b28beea9cab816e3bbec20385e726a5d4d Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Tue, 9 Jul 2024 10:38:39 +0100 Subject: [PATCH] Add todo --- Utilities.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Utilities.h b/Utilities.h index 8125203..58219f9 100644 --- a/Utilities.h +++ b/Utilities.h @@ -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);