Browse Source

Mission: num_commands returns uint16

master
Randy Mackay 11 years ago
parent
commit
df339c05fc
  1. 2
      libraries/AP_Mission/AP_Mission.h

2
libraries/AP_Mission/AP_Mission.h

@ -108,7 +108,7 @@ public: @@ -108,7 +108,7 @@ public:
mission_state state() const { return _flags.state; }
/// num_commands - returns total number of commands in the mission
uint8_t num_commands() const { return _cmd_total; }
uint16_t num_commands() const { return _cmd_total; }
/// start - resets current commands to point to the beginning of the mission
/// To-Do: should we validate the mission first and return true/false?

Loading…
Cancel
Save