|
@@ -29,14 +29,15 @@ class QueueCommand
|
|
|
$this->tsFirstBlink = time();
|
|
$this->tsFirstBlink = time();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public function setLeds(int $pattern, int $repeat, int $iter_time, int $iterations)
|
|
|
|
|
|
|
+ public function setLeds(int $pattern, int $repeat, int $iter_time, int $iterations, int $color)
|
|
|
{
|
|
{
|
|
|
$this->operation = Q_BLINK_ON;
|
|
$this->operation = Q_BLINK_ON;
|
|
|
list(
|
|
list(
|
|
|
$this->params['pattern'],
|
|
$this->params['pattern'],
|
|
|
$this->params['repeat'],
|
|
$this->params['repeat'],
|
|
|
$this->params['iter_time'],
|
|
$this->params['iter_time'],
|
|
|
- $this->params['iterations']
|
|
|
|
|
|
|
+ $this->params['iterations'],
|
|
|
|
|
+ $this->params['color']
|
|
|
) = func_get_args();
|
|
) = func_get_args();
|
|
|
}
|
|
}
|
|
|
|
|
|