FPGA PWM: wait 1 period before measurement

pull/11110/head
jeromecoutant 2019-07-09 22:34:15 +02:00 committed by Evelyne Donnaes
parent da1a749ab6
commit eb4b323e2e
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ void pwm_period_fill_test(PinName pin, uint32_t period_ms, uint32_t fill_prc, pw
break;
}
wait(PERIOD_FLOAT(period_ms));
tester.io_metrics_start();
wait(NUM_OF_PERIODS * PERIOD_FLOAT(period_ms));