4488
5226; I/O Port Handling Bug Fixes
Pathfinder

Changes made for Pathfinder 5226 controllers.

On the 5226 controller there is an ARM processor that is used for interrupts. They are broken down into separate ports with a collection of pins used for the interrupts. These ports have separate functions to install and disable the ports at a given time. There was a certain bug when installing one of the ports where it was swapping the setup of the pin for when the interrupt would happen. Because of the swap it was causing some inputs set up as interrupts to do a double call on the input function associated with that input. This would cause a logic confusion and not make the input logically work the first time it was toggled. The logic would straigthen itself after that, but the damage would already be done. Another bug was that the structure for one of the ports was using the name of another port therefore changing data for a different port.

These changes have been made and the 5226 inputs set up as interrupts seem to be working as intended.