CppCheck Report

Statistics

Total issues found: 3

Issues by severity:

  • information: 2

  • style: 1

light_controller.c

Location: components\light_controller\src\light_controller.c

Style: unusedFunction

The function ‘lightController’ is never used.

CWE: 561

198 * Uses a state machine to determine the light state based on several inputs,
199 * e.g., the system's power state.
200 */
201void lightController(void)
202{
203
204    PowerState powerState = RteGetPowerState();

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