mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 01:53:34 +08:00
IO driver: Fix code style
This commit is contained in:
@@ -2095,6 +2095,7 @@ PX4IO::mixer_send(const char *buf, unsigned buflen, unsigned retries)
|
|||||||
/* send the closing newline */
|
/* send the closing newline */
|
||||||
msg->text[0] = '\n';
|
msg->text[0] = '\n';
|
||||||
msg->text[1] = '\0';
|
msg->text[1] = '\0';
|
||||||
|
|
||||||
for (int i = 0; i < 30; i++) {
|
for (int i = 0; i < 30; i++) {
|
||||||
/* failed, but give it a 2nd shot */
|
/* failed, but give it a 2nd shot */
|
||||||
ret = io_reg_set(PX4IO_PAGE_MIXERLOAD, 0, (uint16_t *)frame, (sizeof(px4io_mixdata) + 2) / 2);
|
ret = io_reg_set(PX4IO_PAGE_MIXERLOAD, 0, (uint16_t *)frame, (sizeof(px4io_mixdata) + 2) / 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user