[fix](trx-ft8): align decode result layout

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-09 21:41:08 +01:00
parent 4d32f017a8
commit 995ddd7306
2 changed files with 3 additions and 10 deletions
+3 -1
View File
@@ -11,10 +11,12 @@ const F_MAX_HZ: f32 = 3000.0;
const TIME_OSR: i32 = 2;
const FREQ_OSR: i32 = 2;
const FTX_MAX_MESSAGE_LENGTH: usize = 35;
#[repr(C)]
#[derive(Clone, Copy)]
struct Ft8DecodeResultRaw {
text: [libc::c_char; 64],
text: [libc::c_char; FTX_MAX_MESSAGE_LENGTH],
snr_db: c_float,
dt_s: c_float,
freq_hz: c_float,