adc: allow "adc test" to read 10 values

This commit is contained in:
Andrew Tridgell 2013-08-01 22:15:16 +10:00 committed by Lorenz Meier
parent c7d8535151
commit bee8e27f04
1 changed files with 1 additions and 1 deletions

View File

@ -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)