-
Notifications
You must be signed in to change notification settings - Fork 4
ign-fail-fast #294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
ign-fail-fast #294
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -220,7 +220,10 @@ if ( usb_detect() ) | |
| IGN_STATUS ign_status; | ||
| /* Execute subcommand*/ | ||
| ign_status = ign_cmd_execute( subcommand_code ); | ||
|
|
||
|
|
||
| if (ign_status != IGN_OK){ | ||
| error_fail_fast( ERROR_IGN_CMD_ERROR ) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cr: semicolon. this causes a critical compiler error and the app fails to build. |
||
| } | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: brace should be indented four spaces (coding standards/uniformity) |
||
| /* Return response code to terminal */ | ||
| usb_transmit( &ign_status, | ||
| sizeof( ign_status ), | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: whitespace around predicate + brace on next line (coding standards/uniformity: please maintain style)