at: get rid of compiler warning

This commit is contained in:
Arnaud Ferraris
2021-10-06 00:57:14 +02:00
parent cfd7ebf156
commit 66073cdd21

View File

@@ -48,8 +48,11 @@ static int configure_serial(const char *tty)
return fd;
}
static void at_free_command(struct AtCommand *at_cmd, struct EG25Manager *manager)
static void at_free_command(gpointer cmd, gpointer data)
{
struct AtCommand *at_cmd = cmd;
struct EG25Manager *manager = data;
if (!at_cmd)
return;