Disable controls that don't do anything for socketcan

This commit is contained in:
Collin Kidder
2016-12-21 20:19:23 -05:00
parent 9cceb4404d
commit 96523cc082
2 changed files with 18 additions and 3 deletions
+3
View File
@@ -92,6 +92,9 @@ void SocketCan::piSetBusSettings(int pBusIdx, CANBus bus)
mDev->setConfigurationParameter(item.first, item.second);
}*/
//You cannot set the speed of a socketcan interface, it has to be set with console commands.
//mDev_p->setConfigurationParameter(QCanBusDevice::BitRateKey, bus.speed);
/* connect device */
if (!mDev_p->connectDevice()) {
disconnectDevice();