Serial port fix, get description for serial ports on OSX.

This commit is contained in:
bubnikv 2018-05-21 17:22:27 +02:00 committed by Vojtech Kral
parent 33f21422e6
commit d4e939fd04
2 changed files with 68 additions and 18 deletions

View file

@ -11,7 +11,7 @@ struct SerialPortInfo {
std::string port;
std::string hardware_id;
std::string friendly_name;
bool is_printer;
bool is_printer = false;
};
inline bool operator==(const SerialPortInfo &sp1, const SerialPortInfo &sp2)