You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SparkFun_u-blox_SARA-R5_Arduino_Library.h
+1-1
Original file line number
Diff line number
Diff line change
@@ -1010,7 +1010,7 @@ class SARA_R5 : public Print
1010
1010
// TO DO: add full support for file tags. Default tag to USER
1011
1011
SARA_R5_error_t getFileContents(String filename, String *contents); // OK for text files. But will fail with binary files (containing \0) on some platforms.
1012
1012
SARA_R5_error_t getFileContents(String filename, char *contents); // OK for binary files. Make sure contents can hold the entire file. Get the size first with getFileSize.
1013
-
SARA_R5_error_t getFileBlock(const String& filename, char* buffer, size_t offset, size_tlength, size_t& bytes_read); // OK for binary files. Make sure buffer can hold the requested block size.
1013
+
SARA_R5_error_t getFileBlock(const String& filename, char* buffer, size_t offset, size_trequestedLength, size_t& bytesRead); // OK for binary files. Make sure buffer can hold the requested block size.
1014
1014
1015
1015
// Append data to a file, delete file first to not appends the data.
0 commit comments