Skip to content

Commit 53b7caf

Browse files
KurtEdhalbert
andauthored
Update ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
Co-authored-by: Dan Halbert <[email protected]>
1 parent eab4867 commit 53b7caf

File tree

1 file changed

+1
-1
lines changed
  • ports/mimxrt10xx/common-hal/pwmio

1 file changed

+1
-1
lines changed

ports/mimxrt10xx/common-hal/pwmio/PWMOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ void common_hal_pwmio_pwmout_set_duty_cycle(pwmio_pwmout_obj_t *self, uint16_t d
258258
// As mentioned in the setting up of the frequency code
259259
// A - Uses VAL2 to turn on (0) and VAL3=duty to turn off
260260
// B - Uses VAL4 to turn on (0) and VAL5 to turn off
261-
// X - As mentioned above VAL1 turns off, but its set to the timing for freqency. so
261+
// X - As mentioned above VAL1 turns off, but it's set to the timing for frequency. so
262262
// VAL0 turns on, so we set it to VAL1 - duty
263263

264264
DBGPrintf(&mp_plat_print, "common_hal_pwmio_pwmout_set_duty_cycle %u\n", duty);

0 commit comments

Comments
 (0)