Fix compilation error

This commit is contained in:
Luc 2019-10-21 18:08:38 +02:00
parent c37b90ea05
commit ba31b453e3

View File

@ -81,7 +81,7 @@ bool Commands::ESP730(const char* cmd_params, level_authenticate_type auth_type,
}
parameter = get_param (cmd_params, "create=");
if (parameter.length() != 0) {
ESP_File f = ESP_FileSystem::open(parameter.c_str(), ESP_SD_FILE_WRITE);
ESP_File f = ESP_FileSystem::open(parameter.c_str(), ESP_FILE_WRITE);
if (f.isOpen()) {
f.close();
output->printMSG ("ok");