mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 16:09:06 +08:00
Sensors: Use C++ init style
This commit is contained in:
parent
088ee74591
commit
be467f606b
@ -1996,8 +1996,7 @@ Sensors::rc_poll()
|
||||
}
|
||||
|
||||
/* copy from mapped manual control to control group 3 */
|
||||
struct actuator_controls_s actuator_group_3;
|
||||
memset(&actuator_group_3, 0 , sizeof(actuator_group_3));
|
||||
struct actuator_controls_s actuator_group_3 = {};
|
||||
|
||||
actuator_group_3.timestamp = rc_input.timestamp_last_signal;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user