samples: blinky_pwm: decreased min PWM period for blinky sample

Blinky PWM sample minimum pwm period was too high for iMX.RT PWM module.
decrease the minimum pwm period so sample will pass pwm calibration
phase.

Fixes #38954

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2022-02-08 13:01:58 -06:00 committed by Anas Nashif
parent aa20d87268
commit 5094a6e08c
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ This application blinks a LED using the :ref:`PWM API <pwm_api>`. See
:ref:`blinky-sample` for a GPIO-based sample.
The LED starts blinking at a 1 Hz frequency. The frequency doubles every 4
seconds until it reaches 64 Hz. The frequency will then be halved every 4
seconds until it reaches 128 Hz. The frequency will then be halved every 4
seconds until it returns to 1 Hz, completing a single blinking cycle. This
faster-then-slower blinking cycle then repeats forever.

View file

@ -27,7 +27,7 @@
#define PWM_FLAGS 0
#endif
#define MIN_PERIOD_USEC (USEC_PER_SEC / 64U)
#define MIN_PERIOD_USEC (USEC_PER_SEC / 128U)
#define MAX_PERIOD_USEC USEC_PER_SEC
void main(void)