From 6bf5c7f7b59bfe07f4648774862b9fd92ba9965d Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Thu, 19 Jan 2023 10:29:28 +0000 Subject: [PATCH] Plasma: Swap make_new/print functions for WS2812 module. Fixes #637 --- micropython/modules/plasma/plasma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/modules/plasma/plasma.c b/micropython/modules/plasma/plasma.c index da84c677..f52e11b7 100644 --- a/micropython/modules/plasma/plasma.c +++ b/micropython/modules/plasma/plasma.c @@ -68,8 +68,8 @@ MP_DEFINE_CONST_OBJ_TYPE( PlasmaWS2812_type, MP_QSTR_plasma_ws2812, MP_TYPE_FLAG_NONE, - make_new, PlasmaWS2812_print, - print, PlasmaWS2812_make_new, + make_new, PlasmaWS2812_make_new, + print, PlasmaWS2812_print, locals_dict, (mp_obj_dict_t*)&PlasmaWS2812_locals_dict ); #else