mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 17:03:33 +08:00
System cmds: Move to 0 based index
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
int test_adc(int argc, char *argv[])
|
||||
{
|
||||
int fd = open(ADC_DEVICE_PATH, O_RDONLY);
|
||||
int fd = open(ADC0_DEVICE_PATH, O_RDONLY);
|
||||
|
||||
if (fd < 0) {
|
||||
warnx("ERROR: can't open ADC device");
|
||||
|
||||
Reference in New Issue
Block a user