Error in xIOUtilsConfigureCircularBufferRx()
Posted by
Heiko on May 17, 2013
Is there an Error in xIOUtilsConfigureCircularBufferRx() (FreeRTOS+IO).
I think the line "pxCircularBufferState->xNewDataSemaphore = xSemaphoreCreateCounting( portMAX_DELAY, 0 );" has an error. portMAX_DELAY should be xBufferSize.
Each time a character is received the semaphore is incremented by one. But when the buffer is full, there is no reason to incremented the semaphore anymore.
RE: Error in xIOUtilsConfigureCircularBufferRx()
Posted by
Heiko on May 17, 2013
Sorry for posting this a second time. I had a Problem with my internet browser.
RE: Error in xIOUtilsConfigureCircularBufferRx()
Posted by
Richard on May 17, 2013
I deleted the duplicate, and will look into your post as soon as possible.
Regards.