-
Notifications
You must be signed in to change notification settings - Fork 777
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hyundai CAN FD: utilize macros for common address checks (#1658)
* draft * now clean up old comments * no more special broken ice addr checks * revert * fix * add test for ICE HDA1 * Revert "add test for ICE HDA1" This reverts commit 76d2b0f. * can be separate * macro for addr check struct * add checks for alt buttons (fixes race condition) * add macro for array len * add comment * misra * comments to help separate * can't put parenthesis around array item * review suggestions * no intermediary macros for making the structs (remove misra violation) * Update board/safety/safety_hyundai_canfd.h * single lines * can avoid double checking hda2 since we have addr checks for it now
- Loading branch information
Showing
2 changed files
with
76 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters