Skip to content

Invalid Serial Port type on update #1630

Closed
@borpin

Description

The code does not allow for not using a serial port.

Please fix urgently @TrystanLea.

if (!in_array($serial_port,array("ttyAMA0","ttyUSB0","ttyUSB1","ttyUSB2"))) return "Invalid serial port type";

The port variable is null - note I am only doing an emoncms update.

image

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