Actually send an event upon incoming messages
This commit is contained in:
parent
1620f6a144
commit
810ea309ad
@ -1325,7 +1325,7 @@ static int _gsm_trigger_cmti(GSM * gsm, char const * result)
|
|||||||
return 1;
|
return 1;
|
||||||
memory[sizeof(memory) - 1] = '\0';
|
memory[sizeof(memory) - 1] = '\0';
|
||||||
gsm->event.incoming_message.memory = memory;
|
gsm->event.incoming_message.memory = memory;
|
||||||
return 0;
|
return _gsm_event_send(gsm, GSM_EVENT_TYPE_INCOMING_MESSAGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user