Portduino: Allow limiting TX Power from yaml (#5954)

This commit is contained in:
Austin
2025-01-29 06:51:26 -05:00
committed by GitHub
parent 6a12760c3d
commit 78da8f6fc4
8 changed files with 37 additions and 6 deletions

View File

@@ -9,6 +9,9 @@
#include "PortduinoGlue.h"
#endif
#if ARCH_PORTDUINO
#define RF95_MAX_POWER settingsMap[rf95_max_power]
#endif
#ifndef RF95_MAX_POWER
#define RF95_MAX_POWER 20
#endif
@@ -337,4 +340,4 @@ bool RF95Interface::sleep()
return true;
}
#endif
#endif