You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this error while writing tests for this module.
So the effort was worth it right away.
This Bug was introduced a while ago, so if we had had tests then it would not be there.
Expected behavior
buffer:shift with more pixels than selected(available) should throw an error.
Actual behavior
Reboots.
Test code
buffer=ws2812.newBuffer(4, 4)
buffer:shift(-10)
the last commad reboots the mcu
NodeMCU version
NodeMCU 3.0.0.0
branch: dev
commit: 0b90495
Hardware
standard dev board
The text was updated successfully, but these errors were encountered:
I found this error while writing tests for this module.
So the effort was worth it right away.
This Bug was introduced a while ago, so if we had had tests then it would not be there.
Expected behavior
buffer:shift with more pixels than selected(available) should throw an error.
Actual behavior
Reboots.
Test code
the last commad reboots the mcu
NodeMCU version
NodeMCU 3.0.0.0
branch: dev
commit: 0b90495
Hardware
standard dev board
The text was updated successfully, but these errors were encountered: