Skip to content

Problem with macros in SparkFun_Weather_Meter_Kit_Constants.h #8

@gitdillo

Description

@gitdillo

Using a SparkFun MicroMod Weather Carrier Board with a SparkFun MicroMod ESP32 Processor, Arduino IDE 2.3.4 on Ubuntu 24.04.

File src/SparkFun_Weather_Meter_Kit_Constants.h on line 50 has the line:
#elif ESP32

Although ESP32 is defined, the contents of the elif block do not get executed and the final #else on line 70 gets executed instead, setting wrong values.

This can be corrected by changing line 50 to:
#elif defined(ESP32)

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