hpwit / artnetesp32v2

22 stars 3 forks source link

Possible to edit/remove callback? #6

Open louisnorwood opened 5 months ago

louisnorwood commented 5 months ago

Hello Yves,

I'm wondering if it's possible to remove a callback that is set up by artnet.addSubArtnet() ?

It would be great to be able to clear them all so I can reconfigure, or specifically edit/remove one that was added. I would like to be able to edit the configuration on-the-fly wihtout having to reboot.

I am wondering if that is a possibility or if the memory allocation means that this would be difficult, I am using the ARTNET_ETH option, and I see that there are buffers created during setup, so I apprecaite this may not be practically possible to tidy up once they are registered.

Thanks, louis

hpwit commented 5 months ago

That is totally feasible ;) I will have a look at it. It should not be complicated.