mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
ArduCopter - fixed small compile warning about unused x_iterm and y_iterm in navigation.pde
This commit is contained in:
parent
a72b20f42d
commit
9986776e0d
@ -103,7 +103,7 @@ static void calc_loiter(int x_error, int y_error)
|
|||||||
{
|
{
|
||||||
#if LOITER_RATE == 1
|
#if LOITER_RATE == 1
|
||||||
int16_t x_target_speed, y_target_speed;
|
int16_t x_target_speed, y_target_speed;
|
||||||
int16_t x_iterm, y_iterm;
|
//int16_t x_iterm, y_iterm;
|
||||||
|
|
||||||
// East / West
|
// East / West
|
||||||
x_target_speed = g.pi_loiter_lon.get_p(x_error); // not contstrained yet
|
x_target_speed = g.pi_loiter_lon.get_p(x_error); // not contstrained yet
|
||||||
|
Loading…
Reference in New Issue
Block a user