efs-zeropilot icon indicating copy to clipboard operation
efs-zeropilot copied to clipboard

Add MOE Bit disable for Motor Outputs in Hardfault

Open Gfcello opened this issue 2 years ago • 0 comments

Description

Add MOE (Main Output Enable) bit disable into hardfault handler for tim1 and tim3 that control motors.

https://uwarg-docs.atlassian.net/wiki/spaces/ZP/pages/2064286344/Hardfault+Shutdown

Testing

Requires test on hardware by initiating a hardfault while motors are enabled.

Documentation

https://uwarg-docs.atlassian.net/wiki/spaces/ZP/pages/2064286344/Hardfault+Shutdown

Merge Checklist:

  • [x] The changes have been well commented, particularly in hard-to-understand areas.
  • [ ] The code has been tested on hardware, either by me or someone else.
  • [ ] Comprehensive unit tests have been made for this change
  • [x] Corresponding changes to documentation have been created and links to this documentation are provided within the pull request.
  • [x] The changes generate no new warnings and compile and run; A screenshot of a successful compile message is attached to the bottom of this PR.

Gfcello avatar May 31 '22 01:05 Gfcello