File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ READ_WRITE LITERAL1
6868DIRECT LITERAL1
6969EXCLUSIVE LITERAL1
7070
71+ START LITERAL1
72+ CURRENT LITERAL1
73+ END LITERAL1
74+
7175SPIFFS_APPEND LITERAL1
7276SPIFFS_TRUNC LITERAL1
7377SPIFFS_CREAT LITERAL1
Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ extern "C"
3030#include " spiffs.h"
3131}
3232
33+ /* *************************************************************************************
34+ * CLASS DECLARATION
35+ **************************************************************************************/
36+
37+ static int constexpr START = SPIFFS_SEEK_SET; /* Start to seek from the beginning of the file */
38+ static int constexpr CURRENT = SPIFFS_SEEK_CUR; /* Start to seek from the current position of the file pointer */
39+ static int constexpr END = SPIFFS_SEEK_END; /* Start to seek from the end of the file */
40+
3341/* *************************************************************************************
3442 * CLASS DECLARATION
3543 **************************************************************************************/
You can’t perform that action at this time.
0 commit comments