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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemcmds/tests/test_adc.c b/src/systemcmds/tests/test_adc.c
index 03391b851..9f6905239 100644
--- a/src/systemcmds/tests/test_adc.c
+++ b/src/systemcmds/tests/test_adc.c
@@ -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");