Changeset View
Changeset View
Standalone View
Standalone View
src/core/seriallayer.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 70 | public: | |||
---|---|---|---|---|---|
71 | 71 | | |||
72 | /** | 72 | /** | ||
73 | * @brief SerialLayer Class to realize communication | 73 | * @brief SerialLayer Class to realize communication | ||
74 | * | 74 | * | ||
75 | * @param port : Port (/dev/ttyUSB ACM) | 75 | * @param port : Port (/dev/ttyUSB ACM) | ||
76 | * @param baud : Baud rate (115200) | 76 | * @param baud : Baud rate (115200) | ||
77 | * @param parent : Parent | 77 | * @param parent : Parent | ||
78 | */ | 78 | */ | ||
79 | SerialLayer(const QString &port, uint baud, QObject *parent = nullptr); | 79 | SerialLayer(const QString &port, int32_t baud, QObject *parent = nullptr); | ||
patrickelectric: uint32_t
| |||||
QSerialPort::setBaud takes a qint32 this removes the warning for the conversion to uint rizzitello: QSerialPort::setBaud takes a qint32 this removes the warning for the conversion to uint
http… | |||||
80 | 80 | | |||
81 | /** | 81 | /** | ||
82 | * @brief Add command to be pushed | 82 | * @brief Add command to be pushed | ||
83 | * | 83 | * | ||
84 | * @param comm : Command | 84 | * @param comm : Command | ||
85 | * @param term : Terminator | 85 | * @param term : Terminator | ||
86 | */ | 86 | */ | ||
87 | void add(const QByteArray &comm, const QByteArray &term); | 87 | void add(const QByteArray &comm, const QByteArray &term); | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |
uint32_t