]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commit
Data type casting added to fix warnings
authorMichal Horn <hornmich@fel.cvut.cz>
Mon, 20 Oct 2014 12:57:37 +0000 (14:57 +0200)
committerMichal Horn <hornmich@fel.cvut.cz>
Mon, 20 Oct 2014 12:57:37 +0000 (14:57 +0200)
commitb968f909816ca51f38c2731f36dbfc7f60b21691
treec5310415495733c8e3bde7221369ca98a71171f8
parent0c177f2548e1608953ad55e17d0d7fbdd7aa4e18
Data type casting added to fix warnings

FreeRTOS before the 8.0.0 version have a xTaskCreate function
with task name parameter of type const signed char*. So the name has
to be casted to this type to avoid warnings.

There is used a macro for it, because we might want to use different
versions of the FreeRTOS, which have different data type for the name
parameter.

Look for the FREERTOS_TASK_NAME definition in os/os.h file.

This commit refs: #1021

Signed-off-by: Michal Horn <hornmich@fel.cvut.cz>
src/arch/sys_arch.c