mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11005 from jeromecoutant/PR_PWM
FPGA PWM: wait 1 period before measurementpull/11053/head
commit
51b44d1cfa
|
|
@ -122,6 +122,8 @@ void pwm_period_fill_test(PinName pin, uint32_t period_ms, uint32_t fill_prc, pw
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wait(PERIOD_FLOAT(period_ms));
|
||||||
|
|
||||||
tester.io_metrics_start();
|
tester.io_metrics_start();
|
||||||
|
|
||||||
wait(NUM_OF_PERIODS * PERIOD_FLOAT(period_ms));
|
wait(NUM_OF_PERIODS * PERIOD_FLOAT(period_ms));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue