mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Mission: get_prev_nav_cmd returns int16
This commit is contained in:
parent
f1b97fee53
commit
ece02b0c9a
@ -159,7 +159,7 @@ public:
|
||||
|
||||
/// get_prev_nav_cmd_index - returns the previous "navigation" commands index (i.e. position in the mission command list)
|
||||
/// we do not return the entire command to save on RAM
|
||||
uint8_t get_prev_nav_cmd_index() { return _prev_nav_cmd_index; }
|
||||
uint16_t get_prev_nav_cmd_index() { return _prev_nav_cmd_index; }
|
||||
|
||||
/// get_next_nav_cmd - gets next "navigation" command found at or after start_index
|
||||
/// returns true if found, false if not found (i.e. reached end of mission command list)
|
||||
|
Loading…
Reference in New Issue
Block a user