Skip to content

Commit fc84ef8

Browse files
committed
FPGA PWM: wait 1 period before measurement
1 parent 28eb39c commit fc84ef8

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)