mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_Motors: create and use a singleton for SRV_Channels
This commit is contained in:
parent
573b02fc23
commit
d204f22fe0
@ -518,7 +518,7 @@ void stability_test()
|
||||
// arm motors
|
||||
motors->armed(true);
|
||||
motors->set_interlock(true);
|
||||
SRV_Channels::enable_aux_servos();
|
||||
AP::srv().enable_aux_servos();
|
||||
|
||||
hal.console->printf("Roll,Pitch,Yaw,Thr,");
|
||||
for (uint8_t i=0; i<num_outputs; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user