Skip to content

Commit 4b742f8

Browse files
committed
Fix spelling
1 parent 4fdf518 commit 4b742f8

File tree

1 file changed

+2
-2
lines changed
  • ports/atmel-samd/common-hal/pulseio

1 file changed

+2
-2
lines changed

ports/atmel-samd/common-hal/pulseio/PWMOut.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ void common_hal_pulseio_pwmout_deinit(pulseio_pwmout_obj_t* self) {
323323
}
324324

325325
extern void common_hal_pulseio_pwmout_set_duty_cycle(pulseio_pwmout_obj_t* self, uint16_t duty) {
326-
// Store the unadjusted duty cycle. It turns out the the process of adjusting and calucating
326+
// Store the unadjusted duty cycle. It turns out the the process of adjusting and calculating
327327
// the duty cycle here and reading it back is lossy - the value will decay over time.
328-
// Track it here so that if frequency is changed we can use this value to recalcuate the
328+
// Track it here so that if frequency is changed we can use this value to recalculate the
329329
// proper duty cycle.
330330
// See https://github.com/adafruit/circuitpython/issues/2086 for more details
331331
self->duty_cycle = duty;

0 commit comments

Comments
 (0)