mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-23 12:01:08 +00:00
* refactor: render chat rows from presentation state * Fix Meshtastic channel sync and add MeshCore CN preset * Add granular chat notification settings * Add SD settings backup and restore * Prepare 0.1.26-alpha release --------- Co-authored-by: vicliu624 <vicliu@outlook.com>
30 lines
612 B
C++
30 lines
612 B
C++
#include "nrf52_node_runtime_config.h"
|
|
|
|
namespace trailmate::apps::nrf52_node
|
|
{
|
|
namespace
|
|
{
|
|
|
|
#if defined(TRAIL_MATE_LORA_TX_POWER_MAX_DBM)
|
|
constexpr std::int8_t kTargetLoraTxPowerMaxDbm =
|
|
TRAIL_MATE_LORA_TX_POWER_MAX_DBM;
|
|
#else
|
|
constexpr std::int8_t kTargetLoraTxPowerMaxDbm = 0;
|
|
#endif
|
|
|
|
const Nrf52NodeRuntimeConfig kRuntimeConfig{
|
|
"gat562_mesh_evb_pro",
|
|
product_composition::findTargetProfile("gat562_mesh_evb_pro"),
|
|
kTargetLoraTxPowerMaxDbm,
|
|
true,
|
|
};
|
|
|
|
} // namespace
|
|
|
|
const Nrf52NodeRuntimeConfig& runtimeConfig()
|
|
{
|
|
return kRuntimeConfig;
|
|
}
|
|
|
|
} // namespace trailmate::apps::nrf52_node
|