Switch to unsigned integers where appropriate.
This commit is contained in:
+1
-1
@@ -205,7 +205,7 @@ void SerialWorker::sendFrameBatch(const QList<CANFrame> *frames)
|
||||
sendBulkMutex.unlock();
|
||||
}
|
||||
|
||||
void SerialWorker::updateBaudRates(int Speed1, int Speed2)
|
||||
void SerialWorker::updateBaudRates(unsigned int Speed1, unsigned int Speed2)
|
||||
{
|
||||
QByteArray buffer;
|
||||
qDebug() << "Got signal to update bauds. 1: " << Speed1 <<" 2: " << Speed2;
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ public slots:
|
||||
void closeSerialPort();
|
||||
void sendFrame(const CANFrame *) override;
|
||||
void sendFrameBatch(const QList<CANFrame> *) override;
|
||||
void updateBaudRates(int, int);
|
||||
void updateBaudRates(unsigned int, unsigned int);
|
||||
//void stopFrameCapture(int) override;
|
||||
//void startFrameCapture(int) override;
|
||||
void updatePortName(QString) override; //string version of the port to connect to. This base doesnt know a thing about this value
|
||||
|
||||
Reference in New Issue
Block a user