CppCheck Report

Statistics

Total issues found: 3

Issues by severity:

  • information: 2

  • style: 1

brightness_controller.c

Location: components\brightness_controller\src\brightness_controller.c

Style: unusedFunction

The function ‘brightnessController’ is never used.

CWE: 561

69 *    :implements: SWDD_BC-200, SWDD_BC-202, SWDD_BC-203
70 * ```
71 */
72void brightnessController(void)
73{
74    brightness_t brightnessValue = 0;
75#ifdef CONFIG_BRIGHTNESS_ADJUSTMENT_AUTOMATIC

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