Consistently making space for a maximum of 12 channels, 10 channels (including reference / temperature) are used / available right now

This commit is contained in:
Lorenz Meier
2014-03-17 17:02:10 +01:00
parent 4e6e40e5d8
commit d940bdf7f6
4 changed files with 7 additions and 7 deletions
+1 -1
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[10];
adc_msg_s data[12];
ssize_t count = read(fd, data, sizeof(data));
if (count < 0)