X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Fdc_motor_hwtest.c;h=50901b26c5e02cd72a4a1a0f8ad75969f4031456;hb=567b81d9dd3bd0a0cd8df4a3d464b3273576fe73;hp=477d35aa58899c7bf1b55f192d7a122755281718;hpb=b9c96114f83504fc6492d7aad95aaeb5d68532ac;p=bertos.git diff --git a/bertos/drv/dc_motor_hwtest.c b/bertos/drv/dc_motor_hwtest.c index 477d35aa..50901b26 100644 --- a/bertos/drv/dc_motor_hwtest.c +++ b/bertos/drv/dc_motor_hwtest.c @@ -121,7 +121,9 @@ int dc_motor_testSetUp(void) kdbg_init(); timer_init(); proc_init(); +#if !CFG_PWM_ENABLE_OLD_API pwm_init(); +#endif adc_init(); return 0;