Make serial port name const
This commit is contained in:
parent
05030e5d80
commit
d5e4bc93b2
@ -24,7 +24,7 @@ class SensorDriver {
|
|||||||
static constexpr auto RANGE_CMD = std::string_view{"range"};
|
static constexpr auto RANGE_CMD = std::string_view{"range"};
|
||||||
static constexpr auto READ_CMD = std::string_view{"read csv"};
|
static constexpr auto READ_CMD = std::string_view{"read csv"};
|
||||||
|
|
||||||
QString m_serialPortName;
|
const QString m_serialPortName;
|
||||||
|
|
||||||
bool isValidSensor() const;
|
bool isValidSensor() const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user