Skip to content

Commit 4ef569b

Browse files
committed
Adding changes from issue #3
1 parent 4dd5362 commit 4ef569b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SparkFun_u-blox_SARA-R5_Arduino_Library.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ SARA_R5_error_t SARA_R5::setAPN(String apn, uint8_t cid, SARA_R5_pdp_type pdpTyp
840840
break;
841841
default:
842842
free(command);
843-
return LTE_SHIELD_ERROR_UNEXPECTED_PARAM;
843+
return SARA_R5_ERROR_UNEXPECTED_PARAM;
844844
break;
845845
}
846846
sprintf(command, "%s=%d,\"%s\",\"%s\"", SARA_R5_MESSAGE_PDP_DEF,
@@ -2162,7 +2162,7 @@ SARA_R5_error_t SARA_R5::sendCommandWithResponse(
21622162
if (hwAvailable())
21632163
{
21642164
char c = readChar();
2165-
if (_printDebug == true) _debugPort->print((String)c));
2165+
if (_printDebug == true) _debugPort->print((String)c);
21662166
if (responseDest != NULL)
21672167
{
21682168
responseDest[destIndex++] = c;

0 commit comments

Comments
 (0)