Fix filter bitmask generation 78/23178/2
authorScott Murray <scott.murray@konsulko.com>
Tue, 3 Dec 2019 22:17:07 +0000 (17:17 -0500)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 5 Dec 2019 08:17:15 +0000 (08:17 +0000)
commit4780c23547407f6bafb7e14fb70aaeeca0a1257d
tree77ae5857011f58247709801923d6766921c1f81d
parent6af1b5e243df2333a9ecdedf9c9ba23a3619de58
Fix filter bitmask generation

Fix filter bitmask generation in encoder_t::encode_data; the mask
bits need to be left-aligned in each byte, not right-aligned.

Bug-AGL: SPEC-3013

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie084f81e3d8c06e69b5bb7562055187395099ac7
low-can-binding/can/can-encoder.cpp