Last active
August 29, 2015 14:19
-
-
Save AutomationD/0183f3ca9df19ce7f9d7 to your computer and use it in GitHub Desktop.
Spiffy patches for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8,9c8,9 | |
< //16k | |
< #define MAX_SIZE 4*4*1024 | |
--- | |
> //192k | |
> #define MAX_SIZE 12*4*4*1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13a14 | |
> #include <errno.h> | |
183c184 | |
< s32_t errno; | |
--- | |
> s32_t errnos; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104c104 | |
< return fs->errno; | |
--- | |
> return fs->errnos; | |
545c545 | |
< fs->errno = res; | |
--- | |
> fs->errnos = res; | |
570c570 | |
< fs->errno = SPIFFS_ERR_NOT_MOUNTED; | |
--- | |
> fs->errnos = SPIFFS_ERR_NOT_MOUNTED; | |
585c585 | |
< fs->errno = SPIFFS_ERR_NOT_MOUNTED; | |
--- | |
> fs->errnos = SPIFFS_ERR_NOT_MOUNTED; | |
629c629 | |
< d->fs->errno = SPIFFS_ERR_NOT_MOUNTED; | |
--- | |
> d->fs->errnos = SPIFFS_ERR_NOT_MOUNTED; | |
654c654 | |
< d->fs->errno = res; | |
--- | |
> d->fs->errnos = res; | |
781c781 | |
< spiffs_printf("last_errno: %i\n", fs->errno); | |
--- | |
> spiffs_printf("last_errno: %i\n", fs->errnos); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
250c250 | |
< (fs)->errno = SPIFFS_ERR_NOT_MOUNTED; \ | |
--- | |
> (fs)->errnos = SPIFFS_ERR_NOT_MOUNTED; \ | |
256c256 | |
< (fs)->errno = (res); \ | |
--- | |
> (fs)->errnos = (res); \ | |
262c262 | |
< (fs)->errno = (res); \ | |
--- | |
> (fs)->errnos = (res); \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment