mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
uncrustify libraries/AP_Motors/AP_MotorsTri.h
This commit is contained in:
parent
6bf09c9b48
commit
d6241b868f
@ -23,7 +23,8 @@ public:
|
||||
/// Constructor
|
||||
AP_MotorsTri( uint8_t APM_version, APM_RC_Class* rc_out, RC_Channel* rc_roll, RC_Channel* rc_pitch, RC_Channel* rc_throttle, RC_Channel* rc_yaw, RC_Channel* rc_tail, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) :
|
||||
AP_Motors(APM_version, rc_out, rc_roll, rc_pitch, rc_throttle, rc_yaw, speed_hz),
|
||||
_rc_tail(rc_tail) {};
|
||||
_rc_tail(rc_tail) {
|
||||
};
|
||||
|
||||
// init
|
||||
virtual void Init();
|
||||
@ -35,7 +36,9 @@ public:
|
||||
virtual void enable();
|
||||
|
||||
// get basic information about the platform
|
||||
virtual uint8_t get_num_motors() { return 4; }; // 3 motors + 1 tail servo
|
||||
virtual uint8_t get_num_motors() {
|
||||
return 4;
|
||||
}; // 3 motors + 1 tail servo
|
||||
|
||||
// motor test
|
||||
virtual void output_test();
|
||||
|
Loading…
Reference in New Issue
Block a user