mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 22:09:07 +08:00
Merge branch 'master' into mixer_fix
This commit is contained in:
commit
5a54354044
@ -1509,7 +1509,7 @@ PX4IO::mixer_send(const char *buf, unsigned buflen, unsigned retries)
|
||||
* even.
|
||||
*/
|
||||
unsigned total_len = sizeof(px4io_mixdata) + count;
|
||||
if (total_len % 1) {
|
||||
if (total_len % 2) {
|
||||
msg->text[count] = '\0';
|
||||
total_len++;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user