Add a dependency for z servo macros
This commit is contained in:
parent
c3794bd695
commit
c01352cbd5
@ -493,9 +493,11 @@ static bool send_ok[BUFSIZE];
|
||||
#if HAS_SERVOS
|
||||
Servo servo[NUM_SERVOS];
|
||||
#define MOVE_SERVO(I, P) servo[I].move(P)
|
||||
#if HAS_Z_SERVO_ENDSTOP
|
||||
#define DEPLOY_Z_SERVO() MOVE_SERVO(Z_ENDSTOP_SERVO_NR, z_servo_angle[0])
|
||||
#define STOW_Z_SERVO() MOVE_SERVO(Z_ENDSTOP_SERVO_NR, z_servo_angle[1])
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CHDK
|
||||
millis_t chdkHigh = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user