Clarified the use of GSM_PRIORITY_HIGHEST

This commit is contained in:
Pierre Pronchery 2010-05-09 13:28:37 +00:00
parent f858e11a48
commit 32ba10e4a0

View File

@ -400,6 +400,7 @@ int gsm_modem_send_message(GSMModem * gsmm, char const * number,
{
gsm_command_set_error(gsmc,
GSM_ERROR_MESSAGE_SEND_FAILED);
/* this ensures that no command gets in between */
gsm_command_set_priority(gsmc, GSM_PRIORITY_HIGHEST);
}
}