CppCheck Report

Statistics

Total issues found: 5

Issues by severity:

  • information: 2

  • style: 3

spled.c

Location: components\spled\src\spled.c

Style: unusedFunction

The function ‘Task_Init’ is never used.

CWE: 561

23    ledInterface();
24}
25
26void Task_Init(void)
27{
28    ledInterface_init();
29    buttonInterface_init();

Style: unusedFunction

The function ‘Task_100ms’ is never used.

CWE: 561

29    buttonInterface_init();
30}
31
32void Task_100ms(void)
33{
34#if (defined(CONFIG_OS_TASK_PERIOD) && CONFIG_OS_TASK_PERIOD == 100)
35    // Call the main application function every 100ms

Style: unusedFunction

The function ‘Task_10ms’ is never used.

CWE: 561

37#endif
38}
39
40void Task_10ms(void)
41{
42#if (defined(CONFIG_OS_TASK_PERIOD) && CONFIG_OS_TASK_PERIOD == 10)
43    // Call the main application function every 10ms

platform_types.h

Location: platforms\platform_types.h

Information: missingIncludeSystem

Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

1#ifndef platform_types_h_
2#define platform_types_h_
3
4#include <stdint.h>
5
6#ifndef NULL
7#ifndef __cplusplus