I2SClocklessVirtualLedDriver icon indicating copy to clipboard operation
I2SClocklessVirtualLedDriver copied to clipboard

Calling driver.initled twice causes driver.showPixels to hang

Open ewowi opened this issue 1 year ago • 1 comments

Using the driver in https://github.com/MoonModules/StarLight where it is possible to change the fixture resulting in a new call to driver.initled.

This worked before in older (non S3?) versions, but on S3 it hangs.

Possible solution: On calling driver.initled clean up / reset variables?

Current workaround:

  • disable showPixels (UI setting)
  • change the fixture
  • save
  • reboot

ewowi avatar Dec 05 '24 09:12 ewowi

Tested with the non virtual driver today (https://github.com/hpwit/I2SClocklessLedDriver/commit/5414935db0cf35f61dfff97bde812726f649aaf4)

This has no issues with calling initled twice

ewowi avatar Dec 10 '24 16:12 ewowi