commit before switching to new bldc controller