diff --git a/software/usb_ir/daemon.c b/software/usb_ir/daemon.c index d74535e..6f9b1ff 100644 --- a/software/usb_ir/daemon.c +++ b/software/usb_ir/daemon.c @@ -55,7 +55,7 @@ static void scanHandler(int UNUSED(sig)) static void workLoop() { /* initialize the driver, signals, and device list */ - if (initServer(&srvSettings)) + if (initServer()) { if (signal(SIGINT, quitHandler) == SIG_ERR) message(LOG_ERROR, "failed to install SIGINT handler.\n"); diff --git a/software/usb_ir/server.h b/software/usb_ir/server.h index fbb8208..b5a442a 100644 --- a/software/usb_ir/server.h +++ b/software/usb_ir/server.h @@ -98,7 +98,7 @@ void initServerSettings(); struct argp* baseArgParser(); bool initServer(); void waitOnCommPipe(); -char* aliasSummary(); +char* aliasSummary(iguanaDev *idev); char* deviceSummary(); char* deviceAddress(const char *name); void cleanupServer();