Added reconnection to CAN and some fixes

This commit is contained in:
Yury Shuvakin
2024-08-01 17:31:52 +09:00
parent a6a0513186
commit e18144b051
5 changed files with 69 additions and 30 deletions

View File

@@ -132,7 +132,7 @@ QuickControls.ApplicationWindow {
indicator: qsTr("A")
value.text: CanController.maximumCurrent
value.onEditingFinished: CanController.maximumCurrent = value.text
value.validator: IntValidator { bottom: 0; top: 255 }
value.validator: IntValidator { bottom: 0; top: 95 }
Layout.fillWidth: true
Layout.preferredWidth: 100
}
@@ -172,7 +172,7 @@ QuickControls.ApplicationWindow {
indicator: qsTr("A")
value.text: CanController.breakingCurrent
value.onEditingFinished: CanController.breakingCurrent = value.text
value.validator: IntValidator { bottom: 0; top: 255 }
value.validator: IntValidator { bottom: 0; top: 127 }
Layout.fillWidth: true
Layout.preferredWidth: 100
}