Skip to content

Commit

Permalink
No localized string invovles in tx write
Browse files Browse the repository at this point in the history
  • Loading branch information
howard0su committed Feb 12, 2019
1 parent 8715921 commit 4aa2664
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand All @@ -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);
}

Expand Down

0 comments on commit 4aa2664

Please sign in to comment.