AP_HAL: added fs_init() to Util API

This commit is contained in:
Andrew Tridgell 2018-12-28 11:27:19 +11:00
parent a611803b6d
commit d8cf1997d2
1 changed files with 5 additions and 0 deletions

View File

@ -113,6 +113,11 @@ public:
*/
virtual uint32_t available_memory(void) { return 4096; }
/*
initialise (or re-initialise) filesystem storage
*/
virtual bool fs_init(void) { return false; }
protected:
// we start soft_armed false, so that actuators don't send any
// values until the vehicle code has fully started