mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
adc: allow "adc test" to read 10 values
This commit is contained in:
committed by
Lorenz Meier
parent
c7d8535151
commit
bee8e27f04
@@ -341,7 +341,7 @@ test(void)
|
||||
err(1, "can't open ADC device");
|
||||
|
||||
for (unsigned i = 0; i < 50; i++) {
|
||||
adc_msg_s data[8];
|
||||
adc_msg_s data[10];
|
||||
ssize_t count = read(fd, data, sizeof(data));
|
||||
|
||||
if (count < 0)
|
||||
|
||||
Reference in New Issue
Block a user