Fix HRT tests

This commit is contained in:
Lorenz Meier 2015-12-04 21:42:31 +01:00
parent cb5e384105
commit 73e26804da
1 changed files with 10 additions and 10 deletions

View File

@ -88,8 +88,8 @@
extern uint16_t ppm_buffer[];
extern unsigned ppm_decoded_channels;
extern uint16_t ppm_edge_history[];
extern uint16_t ppm_pulse_history[];
// extern uint16_t ppm_edge_history[];
// extern uint16_t ppm_pulse_history[];
int test_ppm(int argc, char *argv[])
{
@ -102,17 +102,17 @@ int test_ppm(int argc, char *argv[])
printf(" %u\n", ppm_buffer[i]);
}
printf("edges\n");
// printf("edges\n");
for (i = 0; i < 32; i++) {
printf(" %u\n", ppm_edge_history[i]);
}
// for (i = 0; i < 32; i++) {
// printf(" %u\n", ppm_edge_history[i]);
// }
printf("pulses\n");
// printf("pulses\n");
for (i = 0; i < 32; i++) {
printf(" %u\n", ppm_pulse_history[i]);
}
// for (i = 0; i < 32; i++) {
// printf(" %u\n", ppm_pulse_history[i]);
// }
fflush(stdout);
#else