]> www.average.org Git - pulsecounter.git/blobdiff - Hal/Hal.h
two counters work
[pulsecounter.git] / Hal / Hal.h
index 8ec28c963db094252f39c2b99dff635bb49ad9ab..0d57348ab855a824c58594da29d7cd02dcb5eb84 100644 (file)
--- a/Hal/Hal.h
+++ b/Hal/Hal.h
@@ -26,7 +26,7 @@
 extern "C" {
 #endif
 
-typedef void (*Hal_Handler)(void);
+typedef void (*Hal_Handler)(uint8_t id);
 
 /**
  * --------- Hal_buttonEnable ---------
@@ -47,7 +47,7 @@ typedef void (*Hal_Handler)(void);
  *   BUTTON interrupt enabled
  *
  **/
-extern void Hal_buttonEnable(Hal_Handler handler);
+extern void Hal_gpioEnable(Hal_Handler handler);
 /**
  * --------- Hal_connected ---------
  *