diff options
author | Randy Mackay <rmackay9@yahoo.com> | 2013-09-16 11:33:29 +0900 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-16 07:21:16 +0200 |
commit | 1a641b791dd3802571e56521b7d13585c07061ef (patch) | |
tree | 8d5eed41470ea5d7c1e47e57b346b5c2c78067cc /src/systemcmds/tests/test_hrt.c | |
parent | 03727974f1249adce8f55faf4978910699e5a47e (diff) | |
download | px4-firmware-1a641b791dd3802571e56521b7d13585c07061ef.tar.gz px4-firmware-1a641b791dd3802571e56521b7d13585c07061ef.tar.bz2 px4-firmware-1a641b791dd3802571e56521b7d13585c07061ef.zip |
tone_alarm: more device paths replaced with #define
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; } |