mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
server can if
fix warning of clazy range loop detach
This commit is contained in:
@@ -32,7 +32,7 @@ void CAN_Interface::connect_to_dev(QString dev)
|
|||||||
|
|
||||||
m_canDevice->connectDevice();
|
m_canDevice->connectDevice();
|
||||||
connect(m_canDevice, &QCanBusDevice::framesReceived, this, [this] {
|
connect(m_canDevice, &QCanBusDevice::framesReceived, this, [this] {
|
||||||
for (const QCanBusFrame &frame : m_canDevice->readAllFrames())
|
for (QCanBusFrame &frame : m_canDevice->readAllFrames())
|
||||||
{
|
{
|
||||||
emit frame_received(frame);
|
emit frame_received(frame);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user