mirror of https://github.com/arendst/Tasmota.git
ufs update
This commit is contained in:
parent
35ad7cfab6
commit
0414ab1bf2
|
@ -3723,6 +3723,8 @@ void IMAPData::setFetchUID(const String &fetchUID)
|
|||
std::string().swap(tmp);
|
||||
}
|
||||
|
||||
extern FS *ufsp;
|
||||
|
||||
void IMAPData::setFileStorageType(uint8_t storageType)
|
||||
{
|
||||
_storageType = storageType;
|
||||
|
@ -3736,6 +3738,9 @@ void IMAPData::setFileStorageType(uint8_t storageType)
|
|||
case MailClientStorageType::FFat:
|
||||
fsp = &FFat;
|
||||
break;
|
||||
case MailClientStorageType::Univ:
|
||||
fsp = ufsp;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4766,6 +4771,9 @@ void SMTPData::setFileStorageType(uint8_t storageType)
|
|||
case MailClientStorageType::FFat:
|
||||
fsp = &FFat;
|
||||
break;
|
||||
case MailClientStorageType::Univ:
|
||||
fsp = ufsp;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -92,6 +92,7 @@ struct MailClientStorageType
|
|||
static const uint8_t SPIFFS = 0;
|
||||
static const uint8_t SD = 1;
|
||||
static const uint8_t FFat = 2;
|
||||
static const uint8_t Univ = 3;
|
||||
};
|
||||
|
||||
static const char ESP32_MAIL_STR_1[] PROGMEM = "Content-Type: multipart/mixed; boundary=\"";
|
||||
|
|
Loading…
Reference in New Issue