diff --git a/Makefile b/Makefile index 62797c5..55d3d6f 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ CFLAGS += -DGZIP_COMPRESSION endif ifeq ($(USE_HEATSHRINK),"yes") -CFLAGS += -DEFS_HEATSHRINK +CFLAGS += -DESPFS_HEATSHRINK endif vpath %.c $(SRC_DIR) diff --git a/espfs/espfs.h b/espfs/espfs.h index 4d7e1ff..a147fac 100644 --- a/espfs/espfs.h +++ b/espfs/espfs.h @@ -1,8 +1,9 @@ #ifndef ESPFS_H #define ESPFS_H -//Define this if you want to be able to use Heatshrink-compressed espfs images. -#define ESPFS_HEATSHRINK +// This define is done in Makefile. If you do not use default Makefile, uncomment +// to be able to use Heatshrink-compressed espfs images. +//#define ESPFS_HEATSHRINK typedef enum { ESPFS_INIT_RESULT_OK,