There was a major error in the code which caused the restart system to be repeated instead of having a separate shutdown method. This would result in an API error when attempting to shutdown the device.
Type of change
Please select all that apply.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Other: [describe here]
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
[x] Make sure code runs/builds on Linux [REQUIRED]
[x] Code produces no console errors upon launching the software
[ ] Other (add any other tests run)
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have added 1 or more reviewers to my pull request
[ ] Reviewer has run the above tests to verify
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Myself or a reviewer has tested my code to prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes (if applicable)
[ ] Any dependent changes have been merged and published in downstream modules
Description
There was a major error in the code which caused the restart system to be repeated instead of having a separate shutdown method. This would result in an API error when attempting to shutdown the device.
Type of change
Please select all that apply.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: