mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
SITL: JSON Master: only copy the first 16 servos
This commit is contained in:
parent
e03aed3aa7
commit
a36848cba5
@ -159,7 +159,7 @@ void JSON_Master::receive(struct sitl_input &input)
|
||||
|
||||
if (list->instance == master_instance) {
|
||||
// Use the servo outs from this instance
|
||||
memcpy(input.servos,buffer.pwm,sizeof(input.servos));
|
||||
memcpy(input.servos,buffer.pwm,sizeof(buffer.pwm));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user