Fixed formatting of nesting if else statemtents
Fixed formatting of nesting if else statemtents

Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,ethz-asl/qgc_asl