FA-18: fix Emergency and Parking brake command not working with RS485 #1528
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This FIX adds two additional, shortened commands to FA-18C_hornet.lua for the Emergency and Parking brake
It reduces command length of the ROTATE command below 32 bytes, therefore correcting the bug that this command won't work under the current RS485 implementation used by DCS-BIOS Arduino library.
Because it just adds two lines instead of changing the lines, the change is fully backwards compatible.
Tested and confirmed working in my simpit.