summaryrefslogtreecommitdiff
path: root/shared-bindings/pulseio/PWMOut.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-10-09 20:52:55 -0400
committerDan Halbert <halbert@halwitz.org>2018-10-09 20:52:55 -0400
commit91a88cf5685b88708cae501f4f7dbf0e8a4e6e17 (patch)
tree31321e979580ac1cc1c6d0cf4674113b3d9d62c5 /shared-bindings/pulseio/PWMOut.c
parent3206d9a5da5e5018ecf3a5878924a202885e0864 (diff)
Allow variable freq PWMOut; use multiple channels if same freq
Diffstat (limited to 'shared-bindings/pulseio/PWMOut.c')
-rw-r--r--shared-bindings/pulseio/PWMOut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/pulseio/PWMOut.c b/shared-bindings/pulseio/PWMOut.c
index 9b7094b4e..362b8123d 100644
--- a/shared-bindings/pulseio/PWMOut.c
+++ b/shared-bindings/pulseio/PWMOut.c
@@ -192,7 +192,7 @@ STATIC mp_obj_t pulseio_pwmout_obj_set_frequency(mp_obj_t self_in, mp_obj_t freq
raise_error_if_deinited(common_hal_pulseio_pwmout_deinited(self));
if (!common_hal_pulseio_pwmout_get_variable_frequency(self)) {
mp_raise_AttributeError(translate(
- "PWM frequency not writeable when variable_frequency is False on "
+ "PWM frequency not writable when variable_frequency is False on "
"construction."));
}
common_hal_pulseio_pwmout_set_frequency(self, mp_obj_get_int(frequency));