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
@@ -10,6 +10,9 @@
#endif
// Particular boards might define a different max power based on what their hardware can do
#if ARCH_PORTDUINO
#define SX128X_MAX_POWER settingsMap[sx128x_max_power]
#endif
#ifndef SX128X_MAX_POWER
#define SX128X_MAX_POWER 13
#endif
@@ -315,4 +318,4 @@ template <typename T> bool SX128xInterface<T>::sleep()
return true;
}
#endif
#endif