-
Notifications
You must be signed in to change notification settings - Fork 0
Operation/adding error manager implementaton #212
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: alpha
Are you sure you want to change the base?
Conversation
…d-command into application/untested-telemetry-collection-and-watchdog-tasks
TheDopplerEffects
left a comment
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.
- Quite a few files were missed
- Mana cases of if statements missing block quotes I.e.
if (error)
reportError;
return error; // this line should be skipped when error = 0 but is run anyway because it is not in {}
- Files such as RI2c.c are missing.
Please double-check your repo.
| <<<<<<< HEAD | ||
| // transmit WDOG pet to transmitter module | ||
| ======= | ||
| // transmit WDOG reset_t to transmitter module | ||
| >>>>>>> aa164ee08d0f9195d610920edab623484dec5094 |
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.
This is the remnants of a failed Merge that didn't get resolved.
| <<<<<<< HEAD | ||
| // transmit WDOG pet to receiver module | ||
| ======= | ||
| // transmit WDOG reset_t to receiver module | ||
| >>>>>>> aa164ee08d0f9195d610920edab623484dec5094 |
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.
This is the remnants of a failed Merge that didn't get resolved.
| if (error != SUCCESS) | ||
| errorReportModule(moduleFram , error); | ||
| return error; |
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.
| if (error != SUCCESS) | |
| errorReportModule(moduleFram , error); | |
| return error; | |
| if (error != SUCCESS) { | |
| errorReportModule(moduleFram , error); | |
| return error; | |
| } |
| if (error != SUCCESS) | ||
| errorReportModule(moduleFram , error); | ||
| return error; |
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.
| if (error != SUCCESS) | |
| errorReportModule(moduleFram , error); | |
| return error; | |
| if (error != SUCCESS) { | |
| errorReportModule(moduleFram , error); | |
| return error; | |
| } |
| if (error != SUCCESS) | ||
| errorReportModule(moduleFram , error); | ||
| return error; |
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.
| if (error != SUCCESS) | |
| errorReportModule(moduleFram , error); | |
| return error; | |
| if (error != SUCCESS) { | |
| errorReportModule(moduleFram , error); | |
| return error; | |
| } |
|
|
||
| int error = IsisTrxvu_rcGetCommandFrame(TRANSCEIVER_INDEX, &frame); | ||
|
|
||
| // provide the size of the message to the caller |
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.
Missed init and null pointer error. Check hole file
|
|
||
| errorReportComponent(componentTransceiver,error); | ||
|
|
||
| return error; |
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.
| return error; |
| if (error) | ||
| errorReportComponent(componentTransceiver,error); | ||
| return error; |
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.
| if (error) | |
| errorReportComponent(componentTransceiver,error); | |
| return error; | |
| if (error){ | |
| errorReportComponent(componentTransceiver,error); | |
| return error; | |
| } |
| if (error) | ||
| errorReportComponent(componentTransceiver,error); | ||
| return error; |
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.
| if (error) | |
| errorReportComponent(componentTransceiver,error); | |
| return error; | |
| if (error) { | |
| errorReportComponent(componentTransceiver,error); | |
| return error; | |
| } |
| errorReportComponent(componentTransceiver,error); | ||
| return error; | ||
|
|
||
| uint16_t uptime = 0; |
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.
Errors missed VVV
Added implementation of the error manager, and removed todo's