From 947b1b23449c9032f109f32eded68245d8523594 Mon Sep 17 00:00:00 2001 From: Leandre Gohy Date: Fri, 4 Jul 2014 12:09:09 +0200 Subject: [PATCH] wiringPiISR callback remove pin Useless since callback is associated with interrupt on a given pin --- src/wiringPiISR.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wiringPiISR.cc b/src/wiringPiISR.cc index 0a43e01..710bee2 100644 --- a/src/wiringPiISR.cc +++ b/src/wiringPiISR.cc @@ -33,11 +33,10 @@ static void processInterrupt(uv_work_t* req, int status) { Persistent callback = interruptCallbackMapping[work->pin]; Local argv[] = { - Local::New(Int32::New(work->pin)), Local::New(Uint32::New(work->delta)) }; - callback->Call(Context::GetCurrent()->Global(), 2, argv); + callback->Call(Context::GetCurrent()->Global(), 1, argv); delete work; }