send non remote frames in scripts.

This commit is contained in:
Fabián Inostroza
2018-04-29 20:54:03 -03:00
parent b8896d76b6
commit 6109fa5f9a
+1
View File
@@ -231,6 +231,7 @@ void CANScriptHelper::sendFrame(QJSValue bus, QJSValue id, QJSValue length, QJSV
{
CANFrame frame;
frame.extended = false;
frame.remote = false;
frame.ID = id.toInt();
frame.len = length.toUInt();
if (frame.len > 8) frame.len = 8;