Merge pull request #5116 from hasnainvirk/iar_fix

Separate string literal from macro
pull/5138/head
Jimmy Brisson 2017-09-18 09:30:59 -05:00 committed by GitHub
commit a0d55036f9
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ static void CMT_URC(ATCmdParser *at)
static bool set_atd(ATCmdParser *at)
{
bool success = at->send("ATD*99***" CTX"#") && at->recv("CONNECT");
bool success = at->send("ATD*99***" CTX "#") && at->recv("CONNECT");
return success;
}
@ -469,7 +469,7 @@ retry_without_dual_stack:
#endif
success = _at->send("AT"
"+FCLASS=0;" // set to connection (ATD) to data mode
"+CGDCONT=" CTX",\"%s\",\"%s%s\"",
"+CGDCONT=" CTX ",\"%s\",\"%s%s\"",
pdp_type, auth, _apn
)
&& _at->recv("OK");