Move angle and pwmScale calculation to the driver.