Updated app_test_pwm to be compatible with latest module_foc_pwm