bd3651d97d
Because `mp_tracked_calloc` does not survive a soft reset but the memory region will, resulting in half-initialised frankenclasses that behave unpredictably. Using the class pattern fixes this since it's always guaranteed to be initialised when a user instantiates it, and __del__ can handle cleanup. |
||
---|---|---|
.. | ||
micropython.cmake | ||
pico_rgb_keypad.c | ||
pico_rgb_keypad.cpp | ||
pico_rgb_keypad.h |