You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I got an error when I try to compiled for an SAMD21E17Amultiple definition of delay conflit with delay.c in samd core and delay in FreeRTOSVariant.c
/*
* override Arduino delay()
*/
extern void _real_delay(unsigned long ms);
void delay(unsigned long ms)
{
if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
{
vTaskDelay(ms / portTICK_PERIOD_MS);
}
else
{
_real_delay(ms);
}
}
If I renamed this function by delay2 for examle it's works but it's doesn't compile beceause delay2 was not declared in this scope...
The text was updated successfully, but these errors were encountered:
Hi,
I got an error when I try to compiled for an
SAMD21E17A
multiple definition of delay
conflit withdelay.c
in samd core and delay inFreeRTOSVariant.c
If I renamed this function by
delay2
for examle it's works but it's doesn't compile beceausedelay2
was not declared in this scope...The text was updated successfully, but these errors were encountered: