Skip to content

Sensor Factory #190

@k3ldar

Description

@k3ldar

The VoltageSensor is constructed unconditionally from entry.pins[0]. If the pin is still PinDisabled (255) or otherwise unset, the handler will call pinMode(255, INPUT) / analogRead(255) and emit bogus telemetry. Consider mirroring the GPS sensor pattern: if the required pin is PinDisabled, skip creating the sensor (and optionally raise a config warning).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions