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:
DJI-Martin
2021-11-29 21:14:49 +08:00
parent 0e22e73e14
commit ee12101bb5
17 changed files with 1 additions and 5 deletions

View File

@ -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);
}