Skip to content

Compilation fails when used as an ESP-IDF component (HardwareSerial maybe-uninitialized) #2100

Closed
@jamieparkinson

Description

@jamieparkinson

The baud rate detection introduced by #1961 causes a compiler error when arduino is being used as an esp-idf component:

error: 'detectedBaudRate' may be used uninitialized in this function [-Werror=maybe-uninitialized]

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