forked from Archive/PX4-Autopilot
adc: allow "adc test" to read 10 values
This commit is contained in:
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)
|
||||
|
|
Loading…
Reference in New Issue