feat: update default power setting in tx_params_t structure to TX_POWER_AUTO

This commit is contained in:
2025-08-18 16:11:22 +08:00
parent 70a51cdb5c
commit 3bcc5bf273
2 changed files with 1 additions and 3 deletions

View File

@ -5,13 +5,11 @@
#ifndef D07297EB_4033_481B_BCFA_1D40899340D0 #ifndef D07297EB_4033_481B_BCFA_1D40899340D0
#define D07297EB_4033_481B_BCFA_1D40899340D0 #define D07297EB_4033_481B_BCFA_1D40899340D0
#include <cstddef> #include <cstddef>
#include <chrono>
#include <cmath> #include <cmath>
#include <cstdint> #include <cstdint>
#include <cstring> #include <cstring>
#include <optional> #include <optional>
#include <esp_log.h> #include <esp_log.h>
#include "esp_log_level.h"
#include "hal/gpio_types.h" #include "hal/gpio_types.h"
#include "hal_gpio.hpp" #include "hal_gpio.hpp"
#include "app_const_llcc68.hpp" #include "app_const_llcc68.hpp"

View File

@ -232,7 +232,7 @@ struct tx_params_t {
static tx_params_t Default() { static tx_params_t Default() {
return tx_params_t{ return tx_params_t{
.power = MAX_POWER_HIGH_PA, .power = TX_POWER_AUTO,
.ramp_time = SET_RAMP_200U, .ramp_time = SET_RAMP_200U,
}; };
} }