From 9cebf3b9699dd6c6669ba11d0d47687a86d41581 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sun, 23 Aug 2020 21:19:13 -0700 Subject: [PATCH] Sbus comment fix, found by George-avy in issue 15253 --- src/lib/rc/sbus.cpp | 2 +- src/lib/rc/sbus.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/rc/sbus.cpp b/src/lib/rc/sbus.cpp index 8c882329b5..3d46bfee91 100644 --- a/src/lib/rc/sbus.cpp +++ b/src/lib/rc/sbus.cpp @@ -288,7 +288,7 @@ sbus_input(int sbus_fd, uint16_t *values, uint16_t *num_values, bool *sbus_fails * so we detect frame boundaries by the inter-frame delay. * * The minimum frame spacing is 7ms; with 25 bytes at 100000bps - * frame transmission time is ~2ms. + * frame transmission time is 3ms. * * We expect to only be called when bytes arrive for processing, * and if an interval of more than 3ms passes between calls, diff --git a/src/lib/rc/sbus.h b/src/lib/rc/sbus.h index f13560e61a..6085ae4aa7 100644 --- a/src/lib/rc/sbus.h +++ b/src/lib/rc/sbus.h @@ -61,7 +61,7 @@ __EXPORT int sbus_init(const char *device, bool singlewire); * so we detect frame boundaries by the inter-frame delay. * * The minimum frame spacing is 7ms; with 25 bytes at 100000bps - * frame transmission time is ~2ms. + * frame transmission time is 3ms. * * If an interval of more than 4ms (7 ms frame spacing plus margin) * passes between calls, the first byte we read will be the first