mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 22:55:04 +02:00
Compare commits
2
Commits
93817348e9
...
897c48badf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
897c48badf | ||
|
|
90383a0cca |
@@ -270,6 +270,12 @@ static int j1939_vp2_get_data(struct j1939_vp_srv_priv *priv,
|
|||||||
j1939_vp2_set_pdop(vp2p, pdop);
|
j1939_vp2_set_pdop(vp2p, pdop);
|
||||||
j1939_vp2_set_tdop(vp2p, tdop);
|
j1939_vp2_set_tdop(vp2p, tdop);
|
||||||
|
|
||||||
|
/* This PG's last 3 bytes are not assigned and hence must be set
|
||||||
|
* to 0xFF as per J1939-71, section 5.2 */
|
||||||
|
vp2p->unused5 = 0xFF;
|
||||||
|
vp2p->unused6 = 0xFF;
|
||||||
|
vp2p->unused7 = 0xFF;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user