AP_RobotisServo: omit code that breaks build for herepro

This commit is contained in:
Siddharth Purohit 2021-06-20 11:47:54 +05:30 committed by Andrew Tridgell
parent 1ffc18006b
commit 347872f6d6
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,8 @@
#include "AP_RobotisServo.h"
#if NUM_SERVO_CHANNELS
extern const AP_HAL::HAL& hal;
#define BROADCAST_ID 0xFE
@ -457,3 +459,4 @@ void AP_RobotisServo::update()
send_command(i+1, REG_GOAL_POSITION, value, 4);
}
}
#endif //NUM_SERVO_CHANNELS