aboutsummaryrefslogtreecommitdiff
path: root/apps/gps/ubx.h
diff options
context:
space:
mode:
authorJulian Oes <joes@student.ethz.ch>2013-01-21 17:42:08 -0800
committerJulian Oes <joes@student.ethz.ch>2013-01-21 17:42:08 -0800
commitf14c90c2220fffc51bc6e6e89bac6f9e726ff505 (patch)
tree28b4dfdc0d7aa874a455973df82b68c67ac12f0c /apps/gps/ubx.h
parent48e497e4069a2f8773d90f2d1887967a81e487d8 (diff)
downloadpx4-firmware-f14c90c2220fffc51bc6e6e89bac6f9e726ff505.tar.gz
px4-firmware-f14c90c2220fffc51bc6e6e89bac6f9e726ff505.tar.bz2
px4-firmware-f14c90c2220fffc51bc6e6e89bac6f9e726ff505.zip
Some timeout needed to be raised for now to make ubx with baudrate 9600 working
Diffstat (limited to 'apps/gps/ubx.h')
-rw-r--r--apps/gps/ubx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gps/ubx.h b/apps/gps/ubx.h
index e700fe388..f3313a3c6 100644
--- a/apps/gps/ubx.h
+++ b/apps/gps/ubx.h
@@ -51,9 +51,9 @@
//internal definitions (not depending on the ubx protocol
#define UBX_NO_OF_MESSAGES 7 /**< Read 7 UBX GPS messages */
#define UBX_WATCHDOG_CRITICAL_TIME_MICROSECONDS 3000000 /**< Allow 3 seconds maximum inter-message time */
-#define UBX_WATCHDOG_WAIT_TIME_MICROSECONDS 1000000 /**< Check for current state every second */
+#define UBX_WATCHDOG_WAIT_TIME_MICROSECONDS 2000000 /**< Check for current state every two seconds */
-#define UBX_CONFIG_TIMEOUT 500000
+#define UBX_CONFIG_TIMEOUT 1000000
#define APPNAME "gps: ubx"