aboutsummaryrefslogtreecommitdiff
path: root/src/systemcmds/tests/test_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemcmds/tests/test_adc.c')
-rw-r--r--src/systemcmds/tests/test_adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemcmds/tests/test_adc.c b/src/systemcmds/tests/test_adc.c
index 030ac6e23..03391b851 100644
--- a/src/systemcmds/tests/test_adc.c
+++ b/src/systemcmds/tests/test_adc.c
@@ -66,8 +66,8 @@ int test_adc(int argc, char *argv[])
}
for (unsigned i = 0; i < 5; i++) {
- /* make space for a maximum of eight channels */
- struct adc_msg_s data[8];
+ /* make space for a maximum of twelve channels */
+ struct adc_msg_s data[12];
/* read all channels available */
ssize_t count = read(fd, data, sizeof(data));