]> granicus.if.org Git - esp-idf/commit
StaticQueue_t needs to have the same size as xQUEUE.
authorDaniel Campora <danicampora@users.noreply.github.com>
Mon, 14 Nov 2016 23:46:53 +0000 (00:46 +0100)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 22 Nov 2016 14:29:27 +0000 (22:29 +0800)
commit2a73783bc656f208c4277f837593acb200a203c1
tree188bdec2df1149532433e3547165f7c7ff72d8de
parentd0c9c1de57e84319b70814e90e74d2f153baafbb
StaticQueue_t needs to have the same size as xQUEUE.

Without this change, building FreeRTOS with static allocation enabled succeeds, but trying to create a queue from a static buffer causes an assert because the size of static and dynamic queues differ.
components/freertos/include/freertos/FreeRTOS.h