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

View File

@@ -127,7 +127,7 @@ CFLAGS += -DGZIP_COMPRESSION
endif
ifeq ($(USE_HEATSHRINK),"yes")
CFLAGS += -DEFS_HEATSHRINK
CFLAGS += -DESPFS_HEATSHRINK
endif
vpath %.c $(SRC_DIR)

View File

@@ -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,