HAL_SITL: make available_memory() uint32_t
This commit is contained in:
parent
ac1c0bba15
commit
81e34006a5
@ -10,6 +10,14 @@ public:
|
||||
bool run_debug_shell(AP_HAL::BetterStream *stream) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
how much free memory do we have in bytes.
|
||||
*/
|
||||
uint32_t available_memory(void) override {
|
||||
// SITL is assumed to always have plenty of memory. Return 128k for now
|
||||
return 0x20000;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // __AP_HAL_SITL_UTIL_H__
|
||||
|
Loading…
Reference in New Issue
Block a user