mirror of
https://github.com/wled/WLED.git
synced 2025-07-17 15:56:31 +00:00
fixed another throw statement
This commit is contained in:
parent
97e4eec5be
commit
46f6a257d0
@ -117,7 +117,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (width > 32)
|
if (width > 32)
|
||||||
{
|
{
|
||||||
throw std::invalid_argument("maximal width is 32");
|
width = 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
pixels.clear();
|
pixels.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user