aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/gps/gps.cpp
diff options
context:
space:
mode:
authorJulian Oes <joes@student.ethz.ch>2013-02-06 13:50:32 -0800
committerJulian Oes <joes@student.ethz.ch>2013-02-06 13:50:32 -0800
commitd962e6c403678e14a64a6b01be8773e98660bb24 (patch)
treed14dd2ed4ca5b324c94dc961355614cb0d78db23 /apps/drivers/gps/gps.cpp
parentfc4be3e7280db480b67b7c6cec11e35481969bbb (diff)
downloadpx4-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.cpp2
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);