mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-30 07:42:23 +02:00
at: get rid of compiler warning
This commit is contained in:
5
src/at.c
5
src/at.c
@@ -48,8 +48,11 @@ static int configure_serial(const char *tty)
|
|||||||
return fd;
|
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)
|
if (!at_cmd)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user