From 63483dabcd5ef519e223068cf21415fa53712d45 Mon Sep 17 00:00:00 2001 From: Rob French Date: Sat, 14 Mar 2020 11:58:54 -0500 Subject: [PATCH] Fixed gpiokeyer.c by adding a forward declaration of the quisk_..._hangtime() function that is also used internaly. --- gpiokeyer.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gpiokeyer.c b/gpiokeyer.c index 91b1c52..6232b2e 100644 --- a/gpiokeyer.c +++ b/gpiokeyer.c @@ -164,6 +164,11 @@ static void clear_memory(void); static void set_keyer_out(int); static void* keyer_thread(void *); +/* quisk_set_gpio_keyer_hangtime() - defining this in here since we do + * call it internally a few times. + */ +void quisk_set_gpio_keyer_hangtime(int) ; + /*********************************************************************** * Variables **********************************************************************/ @@ -605,7 +610,7 @@ static void* keyer_thread(void *arg) { int open_key_gpiokeyer(const char * name) { int i; - int parms[NUM_PARMS]; + int parm[NUM_PARMS]; /* KC4UPR: Read the GPIO keyer name, and parse out the pins for * left paddle, right paddle, keyer out, and T/R switch. The last