FIX: fix the widget malloc error on linux platform when none config set
Signed-off-by: DJI-Martin <DJI-Martin@dji.com>
This commit is contained in:
@ -294,10 +294,6 @@ T_DjiReturnCode Osal_GetTimeUs(uint64_t *us)
|
||||
|
||||
void *Osal_Malloc(uint32_t size)
|
||||
{
|
||||
if (size == 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return malloc(size);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user