Skip to content

Commit 4aa2664

Browse files
committed
No localized string invovles in tx write
1 parent 8715921 commit 4aa2664

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/config/tx.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void CONFIG_WriteTx()
211211
printf("Couldn't open tx.ini\n");
212212
return;
213213
}
214-
CONFIG_EnableLanguage(0);
214+
215215
write_int(&Transmitter, _secmodel, ARRAYSIZE(_secmodel), fh);
216216

217217
for(i = 0; i < INP_HAS_CALIBRATION; i++) {
@@ -235,7 +235,6 @@ void CONFIG_WriteTx()
235235
fprintf(fh, "%s=%s\n", TELEM_LENGTH, TELEM_LENGTH_VAL[(t->telem & TELEMUNIT_FEET) ? 1 : 0]);
236236
fprintf(fh, "%s=%u\n", TELEM_ALERT_INTERVAL, t->telem_alert_interval);
237237

238-
CONFIG_EnableLanguage(1);
239238
fclose(fh);
240239
}
241240

0 commit comments

Comments
 (0)