mirror of
https://github.com/pellepl/spiffs.git
synced 2026-06-05 21:15:18 +00:00
Merge pull request #244 from khalidjmi1200/master
Work around for cppcheck warning.
This commit is contained in:
@@ -262,8 +262,8 @@
|
||||
#define SPIFFS_FH_OFFS(fs, fh) ((fh) != 0 ? ((fh) + (fs)->cfg.fh_ix_offset) : 0)
|
||||
#define SPIFFS_FH_UNOFFS(fs, fh) ((fh) != 0 ? ((fh) - (fs)->cfg.fh_ix_offset) : 0)
|
||||
#else
|
||||
#define SPIFFS_FH_OFFS(fs, fh) (fh)
|
||||
#define SPIFFS_FH_UNOFFS(fs, fh) (fh)
|
||||
#define SPIFFS_FH_OFFS(fs, fh) ((spiffs_file)(fh))
|
||||
#define SPIFFS_FH_UNOFFS(fs, fh) ((spiffs_file)(fh))
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user