CppCheck Report

Statistics

Total issues found: 3

Issues by severity:

  • information: 2

  • style: 1

main_control_knob.c

Location: components\main_control_knob\src\main_control_knob.c

Style: unusedFunction

The function ‘mainControlKnob’ is never used.

CWE: 561

16 *    :implements: SWDD_MCK-100, SWDD_MCK-101, SWDD_MCK-200, SWDD_MCK-201, SWDD_MCK-202, SWDD_MCK-203
17 * ```
18 */
19void mainControlKnob(void)
20{
21    percentage_t currentValue = RteGetMainKnobValue();
22    if (RteIsKeyPressed(CONTROL_KEY_UP))

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