pass all params to onTrigger
This commit is contained in:
parent
42fedec088
commit
00550ddab5
1 changed files with 2 additions and 1 deletions
|
|
@ -18,8 +18,9 @@ export function repl({
|
|||
if (!hap.context.onTrigger) {
|
||||
return defaultOutput(hap, deadline, duration);
|
||||
}
|
||||
const cps = 1; // TODO: fix
|
||||
// call signature of output / onTrigger is different...
|
||||
return hap.context.onTrigger(getTime() + deadline, hap);
|
||||
return hap.context.onTrigger(getTime() + deadline, hap, getTime(), cps);
|
||||
},
|
||||
onError: onSchedulerError,
|
||||
getTime,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue