Skip to content

Commit

Permalink
missing parem
Browse files Browse the repository at this point in the history
  • Loading branch information
ebg1223 committed May 26, 2023
1 parent 460ff55 commit e39b2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_hyundai_canfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static addr_checks build_canfd_addr_checks(void) {
memcpy(new_addresses, base_addr_checks, sizeof(base_addr_checks));

AddrCheckStruct cruise_info_check = get_cruise_info_check();
memcpy(&new_addresses[BASE_ADDR_CHECK_LEN], &cruise_info_check, sizeof(AddrCheckStruct);
memcpy(&new_addresses[BASE_ADDR_CHECK_LEN], &cruise_info_check, sizeof(AddrCheckStruct));

return (addr_checks){new_addresses, BASE_ADDR_CHECK_LEN + 1};
}
Expand Down

0 comments on commit e39b2a2

Please sign in to comment.