Fixed USE_HEATSHRINK flag in Makefile

This commit is contained in:
Jindra Dolezy
2015-04-11 11:59:49 +02:00
parent fdbead2a67
commit b1fa603968
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ CFLAGS += -DGZIP_COMPRESSION
endif endif
ifeq ($(USE_HEATSHRINK),"yes") ifeq ($(USE_HEATSHRINK),"yes")
CFLAGS += -DEFS_HEATSHRINK CFLAGS += -DESPFS_HEATSHRINK
endif endif
vpath %.c $(SRC_DIR) vpath %.c $(SRC_DIR)
+3 -2
View File
@@ -1,8 +1,9 @@
#ifndef ESPFS_H #ifndef ESPFS_H
#define ESPFS_H #define ESPFS_H
//Define this if you want to be able to use Heatshrink-compressed espfs images. // This define is done in Makefile. If you do not use default Makefile, uncomment
#define ESPFS_HEATSHRINK // to be able to use Heatshrink-compressed espfs images.
//#define ESPFS_HEATSHRINK
typedef enum { typedef enum {
ESPFS_INIT_RESULT_OK, ESPFS_INIT_RESULT_OK,