AP_HAL: added get_shell_stream()

This commit is contained in:
Andrew Tridgell 2015-06-17 17:04:15 +10:00
parent 4fe092fead
commit 7f239f5d46
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ public:
virtual void toneAlarm_set_tune(uint8_t tune) {}
virtual void _toneAlarm_timer_tick() {}
/*
return a stream for access to a system shell, if available
*/
virtual AP_HAL::Stream *get_shell_stream() { return NULL; }
protected:
bool soft_armed;
};