From ae906dee980c0090135cb6928f9fed04003f5e76 Mon Sep 17 00:00:00 2001 From: Simon Wilks Date: Thu, 22 Nov 2012 02:03:50 +0100 Subject: [PATCH] Shorten the post read delay slightly. --- apps/hott_telemetry/messages.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/hott_telemetry/messages.h b/apps/hott_telemetry/messages.h index 51217a23b9..74418fd013 100644 --- a/apps/hott_telemetry/messages.h +++ b/apps/hott_telemetry/messages.h @@ -43,8 +43,11 @@ #include -/* 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