Fix angles for disabled EDITABLE_SERVO_ANGLES (#12559)
This commit is contained in:
parent
c986239837
commit
aaf862aef2
5 changed files with 149 additions and 83 deletions
|
|
@ -31,7 +31,10 @@
|
|||
#include "servo.h"
|
||||
|
||||
HAL_SERVO_LIB servo[NUM_SERVOS];
|
||||
uint16_t servo_angles[NUM_SERVOS][2];
|
||||
|
||||
#if ENABLED(EDITABLE_SERVO_ANGLES)
|
||||
uint16_t servo_angles[NUM_SERVOS][2];
|
||||
#endif
|
||||
|
||||
void servo_init() {
|
||||
#if NUM_SERVOS >= 1 && HAS_SERVO_0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue