X-Git-Url: http://www.average.org/gitweb/?p=pulsecounter.git;a=blobdiff_plain;f=Pulsecounter-Prog.c;h=5b9beab300232c87ff693167fecdb4a040ad3b49;hp=d5170af1a5adc722a38b1d86ef05883570e6ac85;hb=62d25e937392e215935ad07e554ef9b18dba18fe;hpb=4868ec0934cb78bf2349296ec33401cf9ce4a953 diff --git a/Pulsecounter-Prog.c b/Pulsecounter-Prog.c index d5170af..5b9beab 100644 --- a/Pulsecounter-Prog.c +++ b/Pulsecounter-Prog.c @@ -1,7 +1,7 @@ #include "Pulsecounter.h" #include "Hal.h" -static void buttonHandler(void); +static void buttonHandler(uint8_t id); static void tickHandler(void); static bool connected = false; static int32_t base4 = 0; @@ -19,7 +19,7 @@ void main() { Hal_idleLoop(); } -static void buttonHandler(void) { +static void buttonHandler(uint8_t id) { uint8_t i; cold = !cold;