X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fhcsr04%2Fhcsr04.h;h=370c58a00fbf52e5d3ffd943125aa6073061dcc5;hb=2fa9b7b6c9f6f4a27a4370f6c589cc33bf046c35;hp=549ee026100aa680be45fda31a13127fe9e31dd6;hpb=b1e548ae8a673302c8ba7c5c50304275c79b10c4;p=contrib%2Fupm.git diff --git a/src/hcsr04/hcsr04.h b/src/hcsr04/hcsr04.h index 549ee02..370c58a 100644 --- a/src/hcsr04/hcsr04.h +++ b/src/hcsr04/hcsr04.h @@ -55,7 +55,7 @@ class HCSR04 { * @param fptr function pointer for handling raising and * falling interrupts */ - HCSR04 (uint8_t triggerPin, uint8_t echoPin, void (*fptr)(void)); + HCSR04 (uint8_t triggerPin, uint8_t echoPin, void (*fptr)(void *)); /** * HCSR04 object destructor.