aboutsummaryrefslogtreecommitdiff
path: root/src/systemcmds/tests/test_hrt.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-02-03 13:47:29 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-02-09 22:56:22 +0100
commitac155b0faca7e9c378e9059d318e1f5151c61561 (patch)
tree98767b56d567fddeded86199b8ad4e47b2fa12d5 /src/systemcmds/tests/test_hrt.c
parent2f4d820063b7712a3acae8f5336439ebbd43fe80 (diff)
downloadpx4-firmware-ac155b0faca7e9c378e9059d318e1f5151c61561.tar.gz
px4-firmware-ac155b0faca7e9c378e9059d318e1f5151c61561.tar.bz2
px4-firmware-ac155b0faca7e9c378e9059d318e1f5151c61561.zip
System cmds: Move to 0 based index
Diffstat (limited to 'src/systemcmds/tests/test_hrt.c')
-rw-r--r--src/systemcmds/tests/test_hrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemcmds/tests/test_hrt.c b/src/systemcmds/tests/test_hrt.c
index 5690997a9..3ac99a5f6 100644
--- a/src/systemcmds/tests/test_hrt.c
+++ b/src/systemcmds/tests/test_hrt.c
@@ -124,10 +124,10 @@ int test_tone(int argc, char *argv[])
int fd, result;
unsigned long tone;
- fd = open(TONEALARM_DEVICE_PATH, O_WRONLY);
+ fd = open(TONEALARM0_DEVICE_PATH, O_WRONLY);
if (fd < 0) {
- printf("failed opening " TONEALARM_DEVICE_PATH "\n");
+ printf("failed opening " TONEALARM0_DEVICE_PATH "\n");
goto out;
}