Copter: removed unnecessary #define for motor declaration

This commit is contained in:
Leonard Hall 2016-01-21 10:33:43 +09:00 committed by Randy Mackay
parent 44180e44df
commit 8d0a6765f1
1 changed files with 0 additions and 2 deletions

View File

@ -31,8 +31,6 @@ Copter::Copter(void) :
control_mode(STABILIZE),
#if FRAME_CONFIG == HELI_FRAME // helicopter constructor requires more arguments
motors(g.rc_7, g.heli_servo_rsc, g.heli_servo_1, g.heli_servo_2, g.heli_servo_3, g.heli_servo_4, MAIN_LOOP_RATE),
#elif FRAME_CONFIG == TRI_FRAME // tri constructor requires additional rc_7 argument to allow tail servo reversing
motors(MAIN_LOOP_RATE),
#elif FRAME_CONFIG == SINGLE_FRAME // single constructor requires extra servos for flaps
motors(g.single_servo_1, g.single_servo_2, g.single_servo_3, g.single_servo_4, MAIN_LOOP_RATE),
#else