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

This commit is contained in:
Austin authored and GitHub committed 2025-01-29 12:51:26 +01:00
1 parent 6a12760c3d
commit 78da8f6fc4
8 files changed
+37 -6

No files matched your search

+4 -1
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