mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 16:57:41 -04:00
POSIX Demo: clang warnings cleanup (#1359)
Cleanup for clang compiler warnings: - add "#include" to proper header files - add "static" modifier to some vars - if tracing is disabled, do not compile helper functions - remove unused macro "mainFLASH_TASK_PRIORITY" Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
This commit is contained in:
parent
9b5e277a6f
commit
722d17b13a
3 changed files with 9 additions and 3 deletions
|
@ -34,8 +34,10 @@
|
|||
#include <FreeRTOS.h>
|
||||
#include <semphr.h>
|
||||
|
||||
SemaphoreHandle_t xStdioMutex;
|
||||
StaticSemaphore_t xStdioMutexBuffer;
|
||||
#include "console.h"
|
||||
|
||||
static SemaphoreHandle_t xStdioMutex;
|
||||
static StaticSemaphore_t xStdioMutexBuffer;
|
||||
|
||||
void console_init( void )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue