diff options
author | Julian Oes <joes@student.ethz.ch> | 2013-02-06 13:50:32 -0800 |
---|---|---|
committer | Julian Oes <joes@student.ethz.ch> | 2013-02-06 13:50:32 -0800 |
commit | d962e6c403678e14a64a6b01be8773e98660bb24 (patch) | |
tree | d14dd2ed4ca5b324c94dc961355614cb0d78db23 /apps/drivers/gps/gps.cpp | |
parent | fc4be3e7280db480b67b7c6cec11e35481969bbb (diff) | |
download | px4-firmware-d962e6c403678e14a64a6b01be8773e98660bb24.tar.gz px4-firmware-d962e6c403678e14a64a6b01be8773e98660bb24.tar.bz2 px4-firmware-d962e6c403678e14a64a6b01be8773e98660bb24.zip |
Removed some unnecessairy flags, home position back working
Diffstat (limited to 'apps/drivers/gps/gps.cpp')
-rw-r--r-- | apps/drivers/gps/gps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/gps/gps.cpp b/apps/drivers/gps/gps.cpp index 8c2775adb..45f18158f 100644 --- a/apps/drivers/gps/gps.cpp +++ b/apps/drivers/gps/gps.cpp @@ -591,7 +591,7 @@ start(const char *uart_path) fd = open(GPS_DEVICE_PATH, O_RDONLY); if (fd < 0) { - printf("Could not open device path: %s\n", GPS_DEVICE_PATH); + errx(1, "Could not open device path: %s\n", GPS_DEVICE_PATH); goto fail; } exit(0); |