Fixed gpiokeyer.c by adding a forward declaration of the quisk_..._hangtime() function that is also used internaly.

This commit is contained in:
Rob French 2020-03-14 11:58:54 -05:00
parent fba22c95f7
commit 63483dabcd

View File

@ -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