Make new GUI stuff (mostly) work
This commit is contained in:
parent
1a6a6f48ee
commit
a3a4b7e504
3 changed files with 79 additions and 51 deletions
|
|
@ -75,7 +75,7 @@ static int packet_magnetic_cal(const unsigned char *data)
|
|||
magcal.BpFast[1][n] = y;
|
||||
magcal.BpFast[2][n] = z;
|
||||
magcal.valid[n] = 1;
|
||||
printf("mag cal, n=%3d: %5d %5d %5d\n", n, x, y, z);
|
||||
//printf("mag cal, n=%3d: %5d %5d %5d\n", n, x, y, z);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -340,7 +340,7 @@ static int ascii_parse(const unsigned char *data, int len)
|
|||
}
|
||||
return ret;
|
||||
fail:
|
||||
printf("ascii FAIL\n");
|
||||
//printf("ascii FAIL\n");
|
||||
ascii_state = ASCII_STATE_WORD;
|
||||
ascii_raw_data_count = 0;
|
||||
ascii_num = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue