Skip to content

Commit 8445254

Browse files
committed
Fix #32
1 parent af0269f commit 8445254

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/SparkFun_Swarm_Satellite_Arduino_Library.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5397,12 +5397,12 @@ Swarm_M138_Error_e SWARM_M138::waitForResponse(const char *expectedResponseStart
53975397
// if (_printDebug == true)
53985398
// {
53995399
// _debugPort->print(F("waitForResponse: errorStart: "));
5400-
// _debugPort->println((char *)&_swarmBacklog[errorStartedAt]);
5400+
// _debugPort->println((char *)&responseDest[errorStartedAt]);
54015401
// }
5402-
err = checkChecksum((char *)&_swarmBacklog[errorStartedAt]);
5402+
err = checkChecksum((char *)&responseDest[errorStartedAt]);
54035403
if (err == SWARM_M138_ERROR_SUCCESS)
54045404
{
5405-
extractCommandError((char *)&_swarmBacklog[errorStartedAt]);
5405+
extractCommandError((char *)&responseDest[errorStartedAt]);
54065406
err = SWARM_M138_ERROR_ERR;
54075407
}
54085408
}
@@ -5411,9 +5411,9 @@ Swarm_M138_Error_e SWARM_M138::waitForResponse(const char *expectedResponseStart
54115411
// if (_printDebug == true)
54125412
// {
54135413
// _debugPort->print(F("waitForResponse: responseStart: "));
5414-
// _debugPort->println((char *)&_swarmBacklog[responseStartedAt]);
5414+
// _debugPort->println((char *)&responseDest[responseStartedAt]);
54155415
// }
5416-
err = checkChecksum((char *)&_swarmBacklog[responseStartedAt]);
5416+
err = checkChecksum((char *)&responseDest[responseStartedAt]);
54175417
}
54185418
}
54195419
else

0 commit comments

Comments
 (0)