From b1fa603968fdb7c00f7d1715340b1a896de35d5d Mon Sep 17 00:00:00 2001 From: Jindra Dolezy Date: Sat, 11 Apr 2015 11:59:49 +0200 Subject: [PATCH] Fixed USE_HEATSHRINK flag in Makefile --- Makefile | 2 +- espfs/espfs.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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,