diff options
author | Simon Wilks <sjwilks@gmail.com> | 2012-11-22 02:03:50 +0100 |
---|---|---|
committer | Simon Wilks <sjwilks@gmail.com> | 2012-11-22 02:03:50 +0100 |
commit | ae906dee980c0090135cb6928f9fed04003f5e76 (patch) | |
tree | 1ab543221d3f8f38b9bbc1449bcb4f4b17f3bbdc /apps/hott_telemetry | |
parent | bc27a495a0ff4e9e76e38ab606c291d678658e1d (diff) | |
download | px4-firmware-ae906dee980c0090135cb6928f9fed04003f5e76.tar.gz px4-firmware-ae906dee980c0090135cb6928f9fed04003f5e76.tar.bz2 px4-firmware-ae906dee980c0090135cb6928f9fed04003f5e76.zip |
Shorten the post read delay slightly.
Diffstat (limited to 'apps/hott_telemetry')
-rw-r--r-- | apps/hott_telemetry/messages.h | 7 |
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 |