mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
removed unused functions
This commit is contained in:
parent
2a3d4efb38
commit
c0c2ea4ebb
@ -105,24 +105,6 @@ static void set_cmd_with_index(struct Location temp, int i)
|
|||||||
g.command_total.set_and_save(i+1);
|
g.command_total.set_and_save(i+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
//static void increment_WP_index()
|
|
||||||
{
|
|
||||||
if (g.command_index < (g.command_total-1)) {
|
|
||||||
g.command_index++;
|
|
||||||
}
|
|
||||||
|
|
||||||
SendDebugln(g.command_index,DEC);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
//static void decrement_WP_index()
|
|
||||||
{
|
|
||||||
if (g.command_index > 0) {
|
|
||||||
g.command_index.set_and_save(g.command_index - 1);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
static int32_t read_alt_to_hold()
|
static int32_t read_alt_to_hold()
|
||||||
{
|
{
|
||||||
if(g.RTL_altitude <= 0)
|
if(g.RTL_altitude <= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user