aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/include
diff options
context:
space:
mode:
authorAditya Gaddam <adityagaddam@gmail.com>2012-09-02 11:04:01 -0400
committerAditya Gaddam <adityagaddam@gmail.com>2012-09-02 11:04:01 -0400
commit53b224544424f037c29617f066294058aa6572f5 (patch)
tree1536907128420cff6bdfb63e1dd19ced0672f688 /wirish/include
parent6b2700e2b1a03b7e0191f3dd9b34f8c51eea3c84 (diff)
downloadlibrambutan-53b224544424f037c29617f066294058aa6572f5.tar.gz
librambutan-53b224544424f037c29617f066294058aa6572f5.zip
"Callback versions of functions now take voidArgumentFuncPtr. We can probably use voidFuncPtr instead, but this way people can see that the function expects something different. Existing functions haven't changed in signature.
Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com>"
Diffstat (limited to 'wirish/include')
-rw-r--r--wirish/include/wirish/ext_interrupts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/include/wirish/ext_interrupts.h b/wirish/include/wirish/ext_interrupts.h
index 1bd7956..7f2bd6a 100644
--- a/wirish/include/wirish/ext_interrupts.h
+++ b/wirish/include/wirish/ext_interrupts.h
@@ -87,7 +87,7 @@ void attachInterrupt(uint8 pin, voidFuncPtr handler, ExtIntTriggerMode mode);
* @sideeffect Registers a handler
* @see detachInterrupt()
*/
-void attachInterrupt(uint8 pin, voidFuncPtr handler, void *arg, ExtIntTriggerMode mode);
+void attachInterrupt(uint8 pin, voidArgumentFuncPtr handler, void *arg, ExtIntTriggerMode mode);
/**
* @brief Disable any registered external interrupt.