Do you know that if you want to use
xStreamBufferReceive
you need
#define INCLUDE_xTaskGetCurrentTaskHandle 1
I don’t know too. Because no information in doc. May be information needs to be update?
Do you know that if you want to use
xStreamBufferReceive
you need
#define INCLUDE_xTaskGetCurrentTaskHandle 1
I don’t know too. Because no information in doc. May be information needs to be update?
Is there a #error message in the code if it isn’t defined? If not we should put one in to help users know what to do, otherwise it might just result in a linker error.
if no
INCLUDE_xTaskGetCurrentTaskHandle
so I get message from MPLAB X with avr-gcc
“build/default/production/_ext/1787047461/stream_buffer.o: In function xStreamBufferReceive': stream_buffer.c:(.text.xStreamBufferReceive+0x7a): undefined reference to
xTaskGetCurrentTaskHandle’
collect2: error: ld returned 1 exit status”
So no information about
INCLUDE_xTaskGetCurrentTaskHandle
in errors list, isn’t it?
No - thanks for reporting. We will update the docs and add a #error into the code.