Commutation offset for third-party motors