update brushless.cpp and header interfaces