Make new GUI stuff (mostly) work

This commit is contained in:
PaulStoffregen 2016-04-03 07:04:18 -07:00
commit a3a4b7e504
3 changed files with 79 additions and 51 deletions

View file

@ -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;