circuitpython/ports/esp32s2/common-hal/pulseio
Jeff Epler 1bc770c3dc esp32s2: PulseIn: Fix supervisor tick enabling
Before, there were two problems:
 * Even if a pulsein was never constructed, supervisor_disable_tick
   would occur during restart.  This could cancel out a supervisor_enable_tick
   from someplace else, with unexpected results.
 * If two or more pulseins were constructed, each one would enable ticks,
   but only the last one deinited (or the reset routine) would disable,
   leaving ticks running indefinitely.

In my testing, it seemed that this led to the board sometimes stopping when
it should have auto-reloaded.
2020-11-17 17:45:41 -06:00
..
__init__.c Add boilerplate, create basic PWMOut test 2020-07-17 17:28:23 -04:00
PulseIn.c esp32s2: PulseIn: Fix supervisor tick enabling 2020-11-17 17:45:41 -06:00
PulseIn.h Change submodule, rework all includes 2020-09-30 11:26:07 -04:00
PulseOut.c Fix problematic whitespace on pulseout parameter errors 2020-08-27 11:07:47 -04:00
PulseOut.h Change submodule, rework all includes 2020-09-30 11:26:07 -04:00