From eb635a2efc9c12f515f946ff9f7c82883b1e9017 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 30 Dec 2019 21:37:56 +0100 Subject: [PATCH] cppcheck --- armsrc/spiffs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/spiffs.h b/armsrc/spiffs.h index d75335e40..f10c86db0 100644 --- a/armsrc/spiffs.h +++ b/armsrc/spiffs.h @@ -577,7 +577,7 @@ s32_t SPIFFS_close(spiffs *fs, spiffs_file fh); * @param old path of file to rename * @param newPath new path of file */ -s32_t SPIFFS_rename(spiffs *fs, const char *old, const char *newPath); +s32_t SPIFFS_rename(spiffs *fs, const char *old_path, const char *new_path); #if SPIFFS_OBJ_META_LEN /** @@ -801,7 +801,7 @@ s32_t SPIFFS_ix_unmap(spiffs *fs, spiffs_file fh); * @param fh the mapped file handle of the file to remap * @param offset new absolute file offset where to start the index map */ -s32_t SPIFFS_ix_remap(spiffs *fs, spiffs_file fh, u32_t offs); +s32_t SPIFFS_ix_remap(spiffs *fs, spiffs_file fh, u32_t offset); /** * Utility function to get number of spiffs_page_ix entries a map buffer must