forked from Archive/PX4-Autopilot
Fix HRT tests
This commit is contained in:
parent
cb5e384105
commit
73e26804da
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue