Fixed the bug that Saeed talked about, which resets a whole port.
Merge branch 'release1' into hotfix-pio
Merge branch 'hotfix-pio' into release1