summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
219b971)
Wrong test about CAN ID, it isn't the response ID that is passed as argument
but the broadcast. Little mistake...
Change-Id: I2622c23356802c3108dbf8e6ede07456294834ee
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
bcm_msg.msg_head.ival2.tv_usec = freq.tv_usec;
// If it isn't an OBD2 CAN ID then just add a simple RX_SETUP job
bcm_msg.msg_head.ival2.tv_usec = freq.tv_usec;
// If it isn't an OBD2 CAN ID then just add a simple RX_SETUP job
- if(can_id != OBD2_FUNCTIONAL_RESPONSE_START)
+ if(can_id != OBD2_FUNCTIONAL_BROADCAST_ID)
{
bcm_msg.msg_head.can_id = can_id;
{
bcm_msg.msg_head.can_id = can_id;