Fix address TRIS bits not setting correctly