Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aorczyk committed Dec 8, 2021
1 parent f49d8aa commit ccd195e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ namespace pfReceiver {
mode: number,
data: number,
action: PfAction,
handler: (eventValue: number) => void
handler: () => void
) {
let command = getCommand(channel, mode, data);

Expand All @@ -355,7 +355,7 @@ namespace pfReceiver {
: PF_RELEASED_ID + channel,
data === -1 ? EventBusValue.MICROBIT_EVT_ANY : command,
() => {
handler(control.eventValue());
handler();
}
);
}
Expand Down

0 comments on commit ccd195e

Please sign in to comment.