Change motor to start using inlined instructions instead of functions