mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 13:15:08 +08:00
adc test shorten
This commit is contained in:
@@ -357,7 +357,7 @@ test(void)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (unsigned i = 0; i < 50; i++) {
|
for (unsigned i = 0; i < 20; i++) {
|
||||||
px4_adc_msg_t data[ADC_TOTAL_CHANNELS];
|
px4_adc_msg_t data[ADC_TOTAL_CHANNELS];
|
||||||
ssize_t count = read(fd, data, sizeof(data));
|
ssize_t count = read(fd, data, sizeof(data));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user