diff options
| author | Jeff Epler <jepler@gmail.com> | 2021-02-11 16:37:34 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2021-02-12 08:25:15 -0600 |
| commit | ff1942cff68a4e192f984a14a83b59800186e45a (patch) | |
| tree | 7818252750d5819ddb518075a5e6d2f165712ec7 /lib | |
| parent | aae10fb37fa402f9bc51f3edec0d2f7772036a25 (diff) | |
Enable protomatter on RP2040 builds
Also found a race condition between timer_disable and redraw, which
would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable
or put a delay or print inside it. That's what pausing inside reconstruct
fixes.
So that the "right timer" can be chosen, `timer_allocate` now gets the `self`
pointer. It's guaranteed at this point that the pin information is accurate,
so you can e.g., find a PWM unit related to the pins themselves.
This required touching each port to add the parameter even though it's
unused everywhere but raspberrypi.
Diffstat (limited to 'lib')
| m--------- | lib/protomatter | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/lib/protomatter b/lib/protomatter -Subproject 5e925cea7a55273e375a6129761cb29b4e750d4 +Subproject 78cde804759c2e910f393b077368dc9fe1f6a63 |
