mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 04:30:28 +08:00
Sensors: Use C++ init style
This commit is contained in:
1 parent
088ee74591
commit
be467f606b
1 file changed
+1
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user