1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

ManualControl: fixed new PathPlanner interface to compile on CopterControl stub

This commit is contained in:
Corvus Corax 2012-05-22 13:29:42 +02:00
parent f27416c95a
commit 48fcf12ef9

View File

@ -710,12 +710,12 @@ static void altitudeHoldDesired(ManualControlCommandData * cmd, bool changed)
AltitudeHoldDesiredSet(&altitudeHoldDesired);
}
#else
static void positionDesired(ManualControlCommandData * cmd)
static void updatePathDesired(ManualControlCommandData * cmd, bool changed, bool home)
{
AlarmsSet(SYSTEMALARMS_ALARM_MANUALCONTROL, SYSTEMALARMS_ALARM_ERROR);
}
static void altitudeHoldDesired(ManualControlCommandData * cmd)
static void altitudeHoldDesired(ManualControlCommandData * cmd, bool changed)
{
AlarmsSet(SYSTEMALARMS_ALARM_MANUALCONTROL, SYSTEMALARMS_ALARM_ERROR);
}