summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-10-10 12:27:27 -0400
committerGitHub <noreply@github.com>2018-10-10 12:27:27 -0400
commit8d580933287e712dec9d27cfc0fb988426ff2562 (patch)
treeeec7c42db48738aa9c0adec1990c73eec194ea5f /shared-bindings
parentdf80ad8e6e1aa7b6f9bbadbd039bbc7e554069d5 (diff)
parentca737e6f7c6cd6ba3601230ac86bf9cce36f2da0 (diff)
Merge pull request #1259 from dhalbert/nrf-pwmout
Allow variable freq PWMOut; use multiple channels if same freq
Diffstat (limited to 'shared-bindings')
-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));