Encode full display command
This commit is contained in:
parent
11a0f85c9f
commit
6a9c626fd4
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ func (f DisplayCommand) Encode() can.Frame {
|
||||||
copy(data[1:], f.Data[:length])
|
copy(data[1:], f.Data[:length])
|
||||||
return can.Frame{
|
return can.Frame{
|
||||||
ID: uint32(C.can_msg_display_cmd),
|
ID: uint32(C.can_msg_display_cmd),
|
||||||
Length: 1,
|
Length: length + 1,
|
||||||
Data: data,
|
Data: data,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue