mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 04:33:34 +08:00
Consistently making space for a maximum of 12 channels, 10 channels (including reference / temperature) are used / available right now
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user