From fb69571013d1066136160a68cca7917b1897cd45 Mon Sep 17 00:00:00 2001 From: Peter Andersson Date: Tue, 28 Oct 2014 13:30:20 +0100 Subject: [PATCH] Fixed documentation example bug --- docs/INTEGRATION | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/INTEGRATION b/docs/INTEGRATION index 703197e..a2c52c9 100644 --- a/docs/INTEGRATION +++ b/docs/INTEGRATION @@ -40,7 +40,7 @@ Also, toss up some of the needed buffers: static u8_t spiffs_work_buf[LOG_PAGE_SIZE*2]; static u8_t spiffs_fds[32*4]; - static u8_t spiffs_cache[(LOG_PAGE_SIZE+32)*4]; + static u8_t spiffs_cache_buf[(LOG_PAGE_SIZE+32)*4]; Now, write the my_spiffs_mount function: @@ -61,8 +61,8 @@ Now, write the my_spiffs_mount function: spiffs_work_buf, spiffs_fds, sizeof(spiffs_fds), - spiffs_cache, - sizeof(spiffs_cache), + spiffs_cache_buf, + sizeof(spiffs_cache_buf), 0); printf("mount res: %i\n", res); } @@ -280,4 +280,4 @@ Having these figures you can disable SPIFFS_BUFFER_HELP again to save flash. * HOW TO CONFIG -TODO \ No newline at end of file +TODO