diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-10-09 20:52:55 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-10-09 20:52:55 -0400 |
| commit | 91a88cf5685b88708cae501f4f7dbf0e8a4e6e17 (patch) | |
| tree | 31321e979580ac1cc1c6d0cf4674113b3d9d62c5 /shared-bindings/pulseio/PWMOut.c | |
| parent | 3206d9a5da5e5018ecf3a5878924a202885e0864 (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.c | 2 |
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)); |
