mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Fix bad DEBUGV argument (thanks @g3gg0)
This commit is contained in:
parent
ee2d4495fd
commit
66a88ac8d2
@ -66,11 +66,11 @@ public:
|
|||||||
|
|
||||||
bool rename(const char* pathFrom, const char* pathTo) override {
|
bool rename(const char* pathFrom, const char* pathTo) override {
|
||||||
if (!isSpiffsFilenameValid(pathFrom)) {
|
if (!isSpiffsFilenameValid(pathFrom)) {
|
||||||
DEBUGV("SPIFFSImpl::rename: invalid pathFrom=`%s`\r\n", path);
|
DEBUGV("SPIFFSImpl::rename: invalid pathFrom=`%s`\r\n", pathFrom);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!isSpiffsFilenameValid(pathTo)) {
|
if (!isSpiffsFilenameValid(pathTo)) {
|
||||||
DEBUGV("SPIFFSImpl::rename: invalid pathTo=`%s` \r\n", path);
|
DEBUGV("SPIFFSImpl::rename: invalid pathTo=`%s` \r\n", pathTo);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
auto rc = SPIFFS_rename(&_fs, pathFrom, pathTo);
|
auto rc = SPIFFS_rename(&_fs, pathFrom, pathTo);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user