Mission: num_commands returns uint16

This commit is contained in:
Randy Mackay 2014-03-10 17:42:06 +09:00
parent 0827506533
commit df339c05fc
1 changed files with 1 additions and 1 deletions

View File

@ -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?