mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Sbus comment fix, found by George-avy in issue 15253
This commit is contained in:
committed by
Mathieu Bresciani
parent
1d0188fc07
commit
9cebf3b969
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user