diff options
author | Jean Cyr <jcyr@dillobits.com> | 2013-07-09 20:37:00 -0400 |
---|---|---|
committer | Jean Cyr <jcyr@dillobits.com> | 2013-07-09 20:37:00 -0400 |
commit | 897b541b12d5782af51ce0a78658cc153bd13544 (patch) | |
tree | 9f4ff4b364a7967f96ce3b38fb45e2518f497213 /src/systemcmds/tests/test_gpio.c | |
parent | 328f4f8c872a0e33857fd9a1112963438a87165b (diff) | |
download | px4-firmware-897b541b12d5782af51ce0a78658cc153bd13544.tar.gz px4-firmware-897b541b12d5782af51ce0a78658cc153bd13544.tar.bz2 px4-firmware-897b541b12d5782af51ce0a78658cc153bd13544.zip |
General cleanup of /dev/px4io and /dev/px4fmu
- Use distinct common symbols for px4io and px4fmu device files, and use
instead of hardcoded filenames
- Use common symbols defining px4io bits consistently between px4fmu and
px4io builds.
Diffstat (limited to 'src/systemcmds/tests/test_gpio.c')
-rw-r--r-- | src/systemcmds/tests/test_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemcmds/tests/test_gpio.c b/src/systemcmds/tests/test_gpio.c index ab536d956..62a873270 100644 --- a/src/systemcmds/tests/test_gpio.c +++ b/src/systemcmds/tests/test_gpio.c @@ -92,7 +92,7 @@ int test_gpio(int argc, char *argv[]) int fd; int ret = 0; - fd = open(GPIO_DEVICE_PATH, 0); + fd = open(PX4IO_DEVICE_PATH, 0); if (fd < 0) { printf("GPIO: open fail\n"); |