Change min pulse calculation

This commit is contained in:
root 2021-07-15 21:27:23 -05:00
parent 0ea750b2d0
commit eebddbb16d
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void common_hal_pulseio_pulseout_construct(pulseio_pulseout_obj_t *self,
self->pin = carrier->pin->number;
self->slice = carrier->slice;
self->carrier = pwmout_obj;
min_pulse = (1000000 / carrier->actual_frequency) / 2;
min_pulse = (1000000 / carrier->actual_frequency);
}
bool common_hal_pulseio_pulseout_deinited(pulseio_pulseout_obj_t *self) {