t3
Fork of C027_Support by
Diff: MDM.cpp
- Revision:
- 105:f6bb2a20de70
- Parent:
- 104:c64ba749a422
- Child:
- 106:18aeacdae391
diff -r c64ba749a422 -r f6bb2a20de70 MDM.cpp --- a/MDM.cpp Fri Jul 04 05:20:57 2014 +0000 +++ b/MDM.cpp Tue Jul 29 04:08:43 2014 +0000 @@ -1336,7 +1336,7 @@ param.len = 0; LOCK(); sendFormated("AT+URDFILE=\"%s\"\r\n", filename, len); - if (RESP_OK != waitFinalResp(_cbURDFILE, ¶m)); + if (RESP_OK != waitFinalResp(_cbURDFILE, ¶m)) param.len = -1; UNLOCK(); return param.len;