Fixed USE_HEATSHRINK flag in Makefile

v0.9.0
Jindra Dolezy 10 years ago
parent fdbead2a67
commit b1fa603968
  1. 2
      Makefile
  2. 5
      espfs/espfs.h

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

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

Loading…
Cancel
Save