From 4aa2664fb9dfba35b1e8552832d17d40bac0a68d Mon Sep 17 00:00:00 2001 From: Howard Su Date: Sat, 9 Feb 2019 17:31:13 +0800 Subject: [PATCH] No localized string invovles in tx write --- src/config/tx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config/tx.c b/src/config/tx.c index f61466e1e0..53b0f34e50 100644 --- a/src/config/tx.c +++ b/src/config/tx.c @@ -211,7 +211,7 @@ void CONFIG_WriteTx() printf("Couldn't open tx.ini\n"); return; } - CONFIG_EnableLanguage(0); + write_int(&Transmitter, _secmodel, ARRAYSIZE(_secmodel), fh); for(i = 0; i < INP_HAS_CALIBRATION; i++) { @@ -235,7 +235,6 @@ void CONFIG_WriteTx() fprintf(fh, "%s=%s\n", TELEM_LENGTH, TELEM_LENGTH_VAL[(t->telem & TELEMUNIT_FEET) ? 1 : 0]); fprintf(fh, "%s=%u\n", TELEM_ALERT_INTERVAL, t->telem_alert_interval); - CONFIG_EnableLanguage(1); fclose(fh); }