Fixed gpiokeyer.c by adding a forward declaration of the quisk_..._hangtime() function that is also used internaly.
This commit is contained in:
parent
fba22c95f7
commit
63483dabcd
@ -164,6 +164,11 @@ static void clear_memory(void);
|
|||||||
static void set_keyer_out(int);
|
static void set_keyer_out(int);
|
||||||
static void* keyer_thread(void *);
|
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
|
* Variables
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
@ -605,7 +610,7 @@ static void* keyer_thread(void *arg) {
|
|||||||
int open_key_gpiokeyer(const char * name)
|
int open_key_gpiokeyer(const char * name)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int parms[NUM_PARMS];
|
int parm[NUM_PARMS];
|
||||||
|
|
||||||
/* KC4UPR: Read the GPIO keyer name, and parse out the pins for
|
/* KC4UPR: Read the GPIO keyer name, and parse out the pins for
|
||||||
* left paddle, right paddle, keyer out, and T/R switch. The last
|
* left paddle, right paddle, keyer out, and T/R switch. The last
|
||||||
|
Loading…
Reference in New Issue
Block a user