CAN Connection Window mostly done now.

This commit is contained in:
Collin Kidder
2017-10-23 19:45:08 -04:00
parent 0519e2d2c9
commit bc4e823d3d
4 changed files with 13 additions and 32 deletions
+5
View File
@@ -1,4 +1,5 @@
#include <QObject>
#include <QDebug>
#include "canbus.h"
CANBus::CANBus()
@@ -25,18 +26,22 @@ bool CANBus::operator==(const CANBus& bus) const{
}
void CANBus::setSpeed(int newSpeed){
//qDebug() << "CANBUS SetSpeed = " << newSpeed;
speed = newSpeed;
}
void CANBus::setListenOnly(bool mode){
//qDebug() << "CANBUS SetListenOnly = " << mode;
listenOnly = mode;
}
void CANBus::setSingleWire(bool mode){
//qDebug() << "CANBUS SetSingleWire = " << mode;
singleWire = mode;
}
void CANBus::setEnabled(bool mode){
//qDebug() << "CANBUS SetEnabled = " << mode;
active = mode;
}