From 113859e79191b9def46aba366985885f58115856 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Thu, 8 Oct 2020 09:57:59 +0800 Subject: [PATCH] increase sx1272 max power +#define MAX_POWER 27 // if we use 20 we are limited to 1% duty cycle or hw might overheat. For continuous operation set a limit of 17 +// In theory up to 27 dBm is possible, but the modules installed in most radios can cope with a max of 20. So BIG WARNING +// if you set power to something higher than 17 or 20 you might fry your board. --- src/mesh/RF95Interface.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesh/RF95Interface.cpp b/src/mesh/RF95Interface.cpp index babd9475..341c27e0 100644 --- a/src/mesh/RF95Interface.cpp +++ b/src/mesh/RF95Interface.cpp @@ -3,8 +3,10 @@ #include "RadioLibRF95.h" #include -#define MAX_POWER 20 +#define MAX_POWER 27 // if we use 20 we are limited to 1% duty cycle or hw might overheat. For continuous operation set a limit of 17 +// In theory up to 27 dBm is possible, but the modules installed in most radios can cope with a max of 20. So BIG WARNING +// if you set power to something higher than 17 or 20 you might fry your board. #define POWER_DEFAULT 17 // How much power to use if the user hasn't set a power level