MultiWii_shared with changes to support inverted flight via reversing motors