mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
server can if
add critical message
This commit is contained in:
@@ -42,7 +42,10 @@ void CAN_Interface::connect_to_dev(QString dev)
|
||||
void CAN_Interface::send_frame(const QCanBusFrame frame)
|
||||
{
|
||||
if (m_canDevice == nullptr)
|
||||
{
|
||||
SPDLOG_CRITICAL("CAN dev = nullptr");
|
||||
return;
|
||||
}
|
||||
m_canDevice->writeFrame(frame);
|
||||
emit frame_send(frame);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user