From b65e0fb21ec2b5a20bac1a4b82e5dda8076a5f93 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 21 Oct 2021 18:35:25 +0200 Subject: [PATCH] Fix compile error --- tasmota/xdrv_50_filesystem.ino | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tasmota/xdrv_50_filesystem.ino b/tasmota/xdrv_50_filesystem.ino index bfe9c3b6b..ebd5b681c 100644 --- a/tasmota/xdrv_50_filesystem.ino +++ b/tasmota/xdrv_50_filesystem.ino @@ -560,12 +560,8 @@ const char UFS_FORM_SDC_DIRa[] PROGMEM = const char UFS_FORM_SDC_DIRc[] PROGMEM = ""; const char UFS_FORM_FILE_UPGb[] PROGMEM = -#ifdef GUI_EDIT_FILE "
" -#endif -; - + ""; const char UFS_FORM_FILE_UPGb1[] PROGMEM = "" D_SHOW_HIDDEN_FILES ""; @@ -670,7 +666,9 @@ void UfsDirectory(void) { UfsListDir(ufs_path, depth); } WSContentSend_P(UFS_FORM_SDC_DIRc); +#ifdef GUI_EDIT_FILE WSContentSend_P(UFS_FORM_FILE_UPGb); +#endif if (!isSDC()) { WSContentSend_P(UFS_FORM_FILE_UPGb1); }