Fix WLED_DISABLE_2D compile error
This commit is contained in:
@@ -189,10 +189,12 @@ float ARTI::arti_external_function(uint8_t function, float par1, float par2, flo
|
||||
SEGMENT.drawLine(par1, par2, par3, par4, par5);
|
||||
return floatNull;
|
||||
case F_drawArc:
|
||||
if (par5 == floatNull)
|
||||
SEGMENT.drawArc(par1, par2, par3, par4);
|
||||
else
|
||||
SEGMENT.drawArc(par1, par2, par3, par4, par5); //fillColor
|
||||
#ifndef WLED_DISABLE_2D
|
||||
if (par5 == floatNull)
|
||||
SEGMENT.drawArc(par1, par2, par3, par4);
|
||||
else
|
||||
SEGMENT.drawArc(par1, par2, par3, par4, par5); //fillColor
|
||||
#endif
|
||||
return floatNull;
|
||||
case F_constrain:
|
||||
return constrain(par1, par2, par3);
|
||||
|
||||
Reference in New Issue
Block a user