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

@@ -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