Hello,
I am testing the timers example, I am using eclipse idf plugin.
I get this error when xTimerStop( xExpiredTimer, staticDONT_BLOCK ) is called:
'staticDONT_BLOCK' undeclared (first use in this function)
Symbol 'staticDONT_BLOCK' could not be resolved
I grep'ed the files in my esp-idf-v.4.2 and did not find any reference. I can put a number instead of staticDONT_BLOCK, for example 10, but the example does not work, it gives a core panic.
How can I find staticDONT_BLOCK and solve this?
staticDONT_BLOCK undeclared
-
- Posts: 9051
- Joined: Thu Nov 26, 2015 4:08 am
Re: staticDONT_BLOCK undeclared
Not sure why it's not in ESP-IDF FreeRTOS, but it's a trivial define: not blocking simply means a timeout of 0.
Replace it with 0 and you should be good.
Code: Select all
#define staticDONT_BLOCK ( ( TickType_t ) 0 )
Who is online
Users browsing this forum: mahone and 247 guests