aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSimon Wilks <sjwilks@gmail.com>2012-11-22 02:03:50 +0100
committerSimon Wilks <sjwilks@gmail.com>2012-11-22 02:03:50 +0100
commitae906dee980c0090135cb6928f9fed04003f5e76 (patch)
tree1ab543221d3f8f38b9bbc1449bcb4f4b17f3bbdc /apps
parentbc27a495a0ff4e9e76e38ab606c291d678658e1d (diff)
downloadpx4-firmware-ae906dee980c0090135cb6928f9fed04003f5e76.tar.gz
px4-firmware-ae906dee980c0090135cb6928f9fed04003f5e76.tar.bz2
px4-firmware-ae906dee980c0090135cb6928f9fed04003f5e76.zip
Shorten the post read delay slightly.
Diffstat (limited to 'apps')
-rw-r--r--apps/hott_telemetry/messages.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/hott_telemetry/messages.h b/apps/hott_telemetry/messages.h
index 51217a23b..74418fd01 100644
--- a/apps/hott_telemetry/messages.h
+++ b/apps/hott_telemetry/messages.h
@@ -43,8 +43,11 @@
#include <stdlib.h>
-/* The HoTT receiver demands a minimum 5ms period of silence after delivering its request. */
-#define POST_READ_DELAY_IN_USECS 4500
+/* The HoTT receiver demands a minimum 5ms period of silence after delivering its request.
+ * Note that the value specified here is lower than 5000 (5ms) as time is lost constucting
+ * the message after the read which takes some milliseconds.
+ */
+#define POST_READ_DELAY_IN_USECS 4000
/* A pause of 3ms is required between each uint8_t sent back to the HoTT receiver. Much lower
values can be used in practise though. */
#define POST_WRITE_DELAY_IN_USECS 1500