Improve readability by using branching instructions. Removing checks of binary parameter.
Improve readability by using branching instructions.
Removing checks of binary parameter.

JustAddWires/galileo-sdk,ms-iot/lightning,JustAddWires/galileo-sdk,msalehmsft/lightning,ms-iot/lightning,msalehmsft/lightning,ms-iot/lightning,JustAddWires/galileo-sdk,ms-iot/lightning