diff options
-rwxr-xr-x | fxotune.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -322,9 +322,9 @@ int main (int argc , char **argv) int len = 0; static char output[255] = ""; snprintf(output, sizeof(output), "%d=%d,%d,%d,%d,%d,%d,%d,%d,%d\n", i+1, - echo_trys[i].acim, echo_trys[i].coef1, echo_trys[i].coef2, - echo_trys[i].coef3, echo_trys[i].coef4, echo_trys[i].coef5, - echo_trys[i].coef6, echo_trys[i].coef7, echo_trys[i].coef8 ); + echo_trys[res].acim, echo_trys[res].coef1, echo_trys[res].coef2, + echo_trys[res].coef3, echo_trys[res].coef4, echo_trys[res].coef5, + echo_trys[res].coef6, echo_trys[res].coef7, echo_trys[res].coef8 ); len = strlen(output); res = write(configfd, output, strlen(output)); |