Skip to content

Warning: 'config_val' may be used uninitialized in lp5562.cpp #102

Description

@ms72git

In components/lp5562/lp5562.cpp, the variable config_val is declared in line 58 without initialization, causing a compiler warning in line 61:

cpp
uint8_t config_val = 0; // Fix: Initialize with 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions