System cmds: Move to 0 based index

This commit is contained in:
Lorenz Meier
2015-02-09 22:56:22 +01:00
parent 2f4d820063
commit ac155b0fac
9 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -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");