mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Fix compile error
This commit is contained in:
parent
cf380f8a90
commit
b65e0fb21e
@ -560,12 +560,8 @@ const char UFS_FORM_SDC_DIRa[] PROGMEM =
|
|||||||
const char UFS_FORM_SDC_DIRc[] PROGMEM =
|
const char UFS_FORM_SDC_DIRc[] PROGMEM =
|
||||||
"</div>";
|
"</div>";
|
||||||
const char UFS_FORM_FILE_UPGb[] PROGMEM =
|
const char UFS_FORM_FILE_UPGb[] PROGMEM =
|
||||||
#ifdef GUI_EDIT_FILE
|
|
||||||
"<form method='get' action='ufse'><input type='hidden' file='" D_NEW_FILE "'>"
|
"<form method='get' action='ufse'><input type='hidden' file='" D_NEW_FILE "'>"
|
||||||
"<button type='submit'>" D_CREATE_NEW_FILE "</button></form>"
|
"<button type='submit'>" D_CREATE_NEW_FILE "</button></form>";
|
||||||
#endif
|
|
||||||
;
|
|
||||||
|
|
||||||
const char UFS_FORM_FILE_UPGb1[] PROGMEM =
|
const char UFS_FORM_FILE_UPGb1[] PROGMEM =
|
||||||
"<input type='checkbox' id='shf' onclick='sf(eb(\"shf\").checked);' name='shf'>" D_SHOW_HIDDEN_FILES "</input>";
|
"<input type='checkbox' id='shf' onclick='sf(eb(\"shf\").checked);' name='shf'>" D_SHOW_HIDDEN_FILES "</input>";
|
||||||
|
|
||||||
@ -670,7 +666,9 @@ void UfsDirectory(void) {
|
|||||||
UfsListDir(ufs_path, depth);
|
UfsListDir(ufs_path, depth);
|
||||||
}
|
}
|
||||||
WSContentSend_P(UFS_FORM_SDC_DIRc);
|
WSContentSend_P(UFS_FORM_SDC_DIRc);
|
||||||
|
#ifdef GUI_EDIT_FILE
|
||||||
WSContentSend_P(UFS_FORM_FILE_UPGb);
|
WSContentSend_P(UFS_FORM_FILE_UPGb);
|
||||||
|
#endif
|
||||||
if (!isSDC()) {
|
if (!isSDC()) {
|
||||||
WSContentSend_P(UFS_FORM_FILE_UPGb1);
|
WSContentSend_P(UFS_FORM_FILE_UPGb1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user