Update comment for spelling
This commit is contained in:
parent
ff4b1b28d2
commit
9393467819
@ -45,7 +45,7 @@ volatile uint16_t current_duty_cycle;
|
|||||||
|
|
||||||
void pulse_finish(void) {
|
void pulse_finish(void) {
|
||||||
pulse_index++;
|
pulse_index++;
|
||||||
// Turn pwm pin off by settting duty cyle to 1.
|
// Turn pwm pin off by setting duty cyle to 1.
|
||||||
common_hal_pwmio_pwmout_set_duty_cycle(pwmout_obj,1);
|
common_hal_pwmio_pwmout_set_duty_cycle(pwmout_obj,1);
|
||||||
if (pulse_index >= pulse_length) {
|
if (pulse_index >= pulse_length) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user