gsmopen: indented

This commit is contained in:
Giovanni Maruzzelli 2012-05-14 01:59:33 +02:00
parent 8a1508d669
commit 44fd0de8ff
2 changed files with 11 additions and 11 deletions

View File

@ -3040,9 +3040,9 @@ int gsmopen_serial_getstatus_AT(private_t *tech_pvt)
if (res) { if (res) {
ERRORA("AT+CMGR (read SMS) do not got OK from the phone, message sent was:|||%s|||\n", GSMOPEN_P_LOG, at_command); ERRORA("AT+CMGR (read SMS) do not got OK from the phone, message sent was:|||%s|||\n", GSMOPEN_P_LOG, at_command);
} }
res = gsmopen_serial_write_AT_ack(p, "AT+CSCS=\"CIAPALO2\""); res = gsmopen_serial_write_AT_ack(p, "AT+CSCS=\"GSM\"");
if (res) { if (res) {
ERRORA("AT+CSCS=\"CIAPALO2\" (set TE messages to GSM) do not got OK from the phone\n", GSMOPEN_P_LOG); ERRORA("AT+CSCS=\"GSM\" (set TE messages to GSM) do not got OK from the phone\n", GSMOPEN_P_LOG);
} }
memset(at_command, 0, sizeof(at_command)); memset(at_command, 0, sizeof(at_command));
sprintf(at_command, "AT+CMGD=%d", p->unread_sms_msg_id); /* delete the message */ sprintf(at_command, "AT+CMGD=%d", p->unread_sms_msg_id); /* delete the message */