feat: update default power setting in tx_params_t structure to TX_POWER_AUTO
This commit is contained in:
@ -5,13 +5,11 @@
|
||||
#ifndef D07297EB_4033_481B_BCFA_1D40899340D0
|
||||
#define D07297EB_4033_481B_BCFA_1D40899340D0
|
||||
#include <cstddef>
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <optional>
|
||||
#include <esp_log.h>
|
||||
#include "esp_log_level.h"
|
||||
#include "hal/gpio_types.h"
|
||||
#include "hal_gpio.hpp"
|
||||
#include "app_const_llcc68.hpp"
|
||||
|
||||
@ -232,7 +232,7 @@ struct tx_params_t {
|
||||
|
||||
static tx_params_t Default() {
|
||||
return tx_params_t{
|
||||
.power = MAX_POWER_HIGH_PA,
|
||||
.power = TX_POWER_AUTO,
|
||||
.ramp_time = SET_RAMP_200U,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user