From 1d5d872044527315e4f80aee6f880aa65bbb62ca Mon Sep 17 00:00:00 2001 From: Morgan Diepart Date: Sun, 1 Mar 2026 14:14:04 +0100 Subject: [PATCH] core: add callsign to default settings --- openrtx/include/core/settings.h | 2 +- openrtx/src/core/state.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/openrtx/include/core/settings.h b/openrtx/include/core/settings.h index 8bdde327..14d0b63f 100644 --- a/openrtx/include/core/settings.h +++ b/openrtx/include/core/settings.h @@ -67,7 +67,7 @@ static const settings_t default_settings = 0, // Vox level 0, // UTC Timezone false, // GPS enabled - "", // Empty callsign + "N0CALL", // Default callsign TIMER_30S, // 30 seconds 0, // M17 CAN 0, // Voice prompts off diff --git a/openrtx/src/core/state.c b/openrtx/src/core/state.c index 6cfcb49a..4e8e0630 100644 --- a/openrtx/src/core/state.c +++ b/openrtx/src/core/state.c @@ -35,8 +35,6 @@ void state_init() */ if (nvm_readSettings(&state.settings) < 0) { state.settings = default_settings; - strncpy(state.settings.callsign, "OPNRTX", 10); - strncpy(state.settings.M17_meta_text, "OPENRTX", 53); } /*