有人知道这个是怎么回事吗
/* Create a new mutex*/
err_t
sys_mutex_new(sys_mutex_t *mutex)
{
LWIP_ASSERT("mutex != NULL", mutex != NULL);
mutex->mut = xSemaphoreCreateRecursiveMutex();
if(mutex->mut == NULL) {
SYS_STATS_INC(mutex.err);
return ERR_MEM;
}
SYS_STATS_INC_USED(mutex);
return ERR_OK;
}
Error[Pe101]: "ERR_OK" has already been declared in the current scope (at line 55 of "F:\FMAX\FMAX-MB3636_Host (2)\ F:\FMAX\FMAX-MB3636_Host (2)\FMAX-MB3636_Host\Application\arch\sys_arch.c 204 FMAX-MB3636_Host\EWARM..\lwip-2.1.2\src\include\lwip\err.h")
一直报这个错