X-Git-Url: http://www.average.org/gitweb/?p=pulsecounter.git;a=blobdiff_plain;f=Hal%2FHal.h;h=9af8ec811cc1745daca6aedcb13f449177cc4935;hp=8ec28c963db094252f39c2b99dff635bb49ad9ab;hb=4868ec0934cb78bf2349296ec33401cf9ce4a953;hpb=13db6cae32995a2f76fb4b4f1c5f40cea2470a55 diff --git a/Hal/Hal.h b/Hal/Hal.h index 8ec28c9..9af8ec8 100644 --- 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_buttonEnable(void (*handler)(void)); /** * --------- Hal_connected --------- *