summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThea Flowers <me@thea.codes>2019-10-25 10:50:27 -0700
committerThea Flowers <me@thea.codes>2019-10-25 10:50:27 -0700
commit4b742f88d9d7b56a81de8559f3d55bf38bf03922 (patch)
tree77209ee0ee7b04b5101f1cc6dcbe1a04f7e7609e
parent4fdf518251dd0751cf4e9b06b7ffb2b944e7d15c (diff)
Fix spelling
-rw-r--r--ports/atmel-samd/common-hal/pulseio/PWMOut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/atmel-samd/common-hal/pulseio/PWMOut.c b/ports/atmel-samd/common-hal/pulseio/PWMOut.c
index 92305161f..0adb23fc5 100644
--- a/ports/atmel-samd/common-hal/pulseio/PWMOut.c
+++ b/ports/atmel-samd/common-hal/pulseio/PWMOut.c
@@ -323,9 +323,9 @@ void common_hal_pulseio_pwmout_deinit(pulseio_pwmout_obj_t* self) {
}
extern void common_hal_pulseio_pwmout_set_duty_cycle(pulseio_pwmout_obj_t* self, uint16_t duty) {
- // Store the unadjusted duty cycle. It turns out the the process of adjusting and calucating
+ // Store the unadjusted duty cycle. It turns out the the process of adjusting and calculating
// the duty cycle here and reading it back is lossy - the value will decay over time.
- // Track it here so that if frequency is changed we can use this value to recalcuate the
+ // Track it here so that if frequency is changed we can use this value to recalculate the
// proper duty cycle.
// See https://github.com/adafruit/circuitpython/issues/2086 for more details
self->duty_cycle = duty;