Sbus comment fix, found by George-avy in issue 15253

This commit is contained in:
px4dev
2020-08-23 21:19:13 -07:00
committed by Mathieu Bresciani
parent 1d0188fc07
commit 9cebf3b969
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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