hcsr04: fix compilation issue with maa_gpio_isr args

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
This commit is contained in:
Kiveisha Yevgeniy
2014-06-20 15:22:55 +00:00
parent b1e548ae8a
commit 2fa9b7b6c9
3 changed files with 4 additions and 4 deletions

View File

@@ -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.