Skip to content

Commit 2cbe2fb

Browse files
authored
clarify comments
1 parent febfd29 commit 2cbe2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_u-blox_SARA-R5_Arduino_Library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4850,7 +4850,7 @@ SARA_R5_error_t SARA_R5::getFileContents(String filename, String *contents)
48504850
// A large file will completely fill the backlog buffer - but it will be pruned afterwards
48514851
// Note to self: if the file contents contain "OK\r\n" sendCommandWithResponse will return true too early...
48524852
// To try and avoid this, look for \"\r\nOK\r\n
4853-
const char fileReadTerm[] = "\r\nOK\r\n"; //"\"\r\n\r\nOK\r\n";
4853+
const char fileReadTerm[] = "\r\nOK\r\n"; //LARA-R6 returns "\"\r\n\r\nOK\r\n" while SARA-R5 return "\"\r\nOK\r\n";
48544854
err = sendCommandWithResponse(command, fileReadTerm,
48554855
response, (5 * SARA_R5_STANDARD_RESPONSE_TIMEOUT),
48564856
(fileSize + minimumResponseAllocation));

0 commit comments

Comments
 (0)