diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-16 13:30:49 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-16 13:30:49 +0200 |
commit | 6c2640768d21e0c1898bfd8a2cd0b763a9e348c7 (patch) | |
tree | 7e0f3914beffade909b564f37cf115e01a411cee /src/systemcmds/tests/test_hrt.c | |
parent | 9e7077fdf9c62ae08c9915e752353671839b5e0b (diff) | |
parent | 489e7b2f1e8639059587c730525397e9424d4044 (diff) | |
download | px4-firmware-6c2640768d21e0c1898bfd8a2cd0b763a9e348c7.tar.gz px4-firmware-6c2640768d21e0c1898bfd8a2cd0b763a9e348c7.tar.bz2 px4-firmware-6c2640768d21e0c1898bfd8a2cd0b763a9e348c7.zip |
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1
Diffstat (limited to 'src/systemcmds/tests/test_hrt.c')
-rw-r--r-- | src/systemcmds/tests/test_hrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemcmds/tests/test_hrt.c b/src/systemcmds/tests/test_hrt.c index ba6b86adb..5690997a9 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("/dev/tone_alarm", O_WRONLY); + fd = open(TONEALARM_DEVICE_PATH, O_WRONLY); if (fd < 0) { - printf("failed opening /dev/tone_alarm\n"); + printf("failed opening " TONEALARM_DEVICE_PATH "\n"); goto out; } |