mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_VRBRAIN: fix typo using comma operator
We want to return mallinfo().fordblks, not the struct using the comma operator with a non-existing fordblks variable.
This commit is contained in:
parent
0d95a9c41d
commit
e9c6702269
|
@ -134,7 +134,7 @@ bool VRBRAINUtil::get_system_id(char buf[40])
|
|||
*/
|
||||
uint32_t VRBRAINUtil::available_memory(void)
|
||||
{
|
||||
return mallinfo(),fordblks;
|
||||
return mallinfo().fordblks;
|
||||
}
|
||||
|
||||
#endif // CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
||||
|
|
Loading…
Reference in New Issue