Skip to content

Commit 51b44d1

Browse files
author
Arto Kinnunen
authored
Merge pull request #11005 from jeromecoutant/PR_PWM
FPGA PWM: wait 1 period before measurement
2 parents 01484a2 + fc84ef8 commit 51b44d1

File tree

1 file changed

+2
-0
lines changed
  • TESTS/mbed_hal_fpga_ci_test_shield/pwm

1 file changed

+2
-0
lines changed

TESTS/mbed_hal_fpga_ci_test_shield/pwm/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ void pwm_period_fill_test(PinName pin, uint32_t period_ms, uint32_t fill_prc, pw
122122
break;
123123
}
124124

125+
wait(PERIOD_FLOAT(period_ms));
126+
125127
tester.io_metrics_start();
126128

127129
wait(NUM_OF_PERIODS * PERIOD_FLOAT(period_ms));

0 commit comments

Comments
 (0)