Plasma: Swap make_new/print functions for WS2812 module.

Fixes #637
This commit is contained in:
Phil Howard 2023-01-19 10:29:28 +00:00
parent b3edbc47d0
commit 6bf5c7f7b5
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ MP_DEFINE_CONST_OBJ_TYPE(
PlasmaWS2812_type, PlasmaWS2812_type,
MP_QSTR_plasma_ws2812, MP_QSTR_plasma_ws2812,
MP_TYPE_FLAG_NONE, MP_TYPE_FLAG_NONE,
make_new, PlasmaWS2812_print, make_new, PlasmaWS2812_make_new,
print, PlasmaWS2812_make_new, print, PlasmaWS2812_print,
locals_dict, (mp_obj_dict_t*)&PlasmaWS2812_locals_dict locals_dict, (mp_obj_dict_t*)&PlasmaWS2812_locals_dict
); );
#else #else