Cadillac: added brake msg forwarding
@@ -27,9 +27,9 @@ static int gm_ascm_fwd_hook(int bus_num, CAN_FIFOMailBox_TypeDef *to_fwd) {
}
// brake
- //if (addr == 0x314) {
- // to_fwd->RIR = (0x315 << 21) | (to_fwd->RIR & 0x1fffff);
- //}
+ if (addr == 0x314) {
+ to_fwd->RIR = (0x315 << 21) | (to_fwd->RIR & 0x1fffff);
+ }
return 2;
}
