Skip to content

Commit

Permalink
Fix the merge mess
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamezz committed Apr 11, 2018
1 parent 23d3833 commit 9f925ba
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions board/safety/safety_defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const safety_hooks nooutput_hooks = {
.rx = default_rx_hook,
.tx = nooutput_tx_hook,
.tx_lin = nooutput_tx_lin_hook,
.ignition = nooutput_ign_hook
.ignition = nooutput_ign_hook,
.fwd = nooutput_fwd_hook,
};

Expand All @@ -45,7 +45,7 @@ static int alloutput_tx_lin_hook(int lin_num, uint8_t *data, int len) {
}

static int alloutput_ign_hook() {
return -1
return -1;
}

static int alloutput_fwd_hook(int bus_num, CAN_FIFOMailBox_TypeDef *to_fwd) {
Expand All @@ -57,7 +57,7 @@ const safety_hooks alloutput_hooks = {
.rx = default_rx_hook,
.tx = alloutput_tx_hook,
.tx_lin = alloutput_tx_lin_hook,
.ignition = alloutput_ign_hook
.ignition = alloutput_ign_hook,
.fwd = alloutput_fwd_hook,
};

2 changes: 1 addition & 1 deletion board/safety/safety_elm327.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ const safety_hooks elm327_hooks = {
.rx = elm327_rx_hook,
.tx = elm327_tx_hook,
.tx_lin = elm327_tx_lin_hook,
.ignition = elm327_ign_hook
.ignition = elm327_ign_hook,
.fwd = elm327_fwd_hook,
};
2 changes: 1 addition & 1 deletion board/safety/safety_gm.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const safety_hooks gm_hooks = {
.rx = gm_rx_hook,
.tx = gm_tx_hook,
.tx_lin = gm_tx_lin_hook,
.ignition = gm_ign_hook
.ignition = gm_ign_hook,
.fwd = gm_fwd_hook,
};

3 changes: 2 additions & 1 deletion board/safety/safety_honda.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const safety_hooks honda_hooks = {
.rx = honda_rx_hook,
.tx = honda_tx_hook,
.tx_lin = honda_tx_lin_hook,
.ignition = honda_ign_hook
.ignition = honda_ign_hook,
.fwd = honda_fwd_hook,
};

Expand All @@ -165,5 +165,6 @@ const safety_hooks honda_bosch_hooks = {
.rx = honda_rx_hook,
.tx = honda_tx_hook,
.tx_lin = honda_tx_lin_hook,
.ignition = honda_ign_hook,
.fwd = honda_bosch_fwd_hook,
};
4 changes: 2 additions & 2 deletions board/safety/safety_toyota.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const safety_hooks toyota_hooks = {
.rx = toyota_rx_hook,
.tx = toyota_tx_hook,
.tx_lin = toyota_tx_lin_hook,
.ignition = toyota_ign_hook
.ignition = toyota_ign_hook,
.fwd = toyota_fwd_hook,
};

Expand All @@ -235,6 +235,6 @@ const safety_hooks toyota_nolimits_hooks = {
.rx = toyota_rx_hook,
.tx = toyota_tx_hook,
.tx_lin = toyota_tx_lin_hook,
.ignition = toyota_ign_hook
.ignition = toyota_ign_hook,
.fwd = toyota_fwd_hook,
};

0 comments on commit 9f925ba

Please sign in to comment.