Skip to content

Commit

Permalink
updated logger message
Browse files Browse the repository at this point in the history
  • Loading branch information
barry-ha committed Dec 20, 2024
1 parent b06c995 commit 527a61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions save_restore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int SaveRestore::readConfig(byte *pData, const unsigned int sizeData) {
// open config file
File32 readFile = gFatfs.open(fqFilename, FILE_READ);
if (!readFile) {
logger.log(FILES, ERROR, "Error, failed to open config file for reading, ", fqFilename);
logger.log(FILES, ERROR, "Failed to open config file for reading, ", fqFilename);
return 0;
}

Expand Down Expand Up @@ -146,7 +146,7 @@ int SaveRestore::writeConfig(const byte *pData, const unsigned int sizeData) {
// replace an existing config file
File32 writeFile = gFatfs.open(fqFilename, O_RDWR | O_CREAT | O_TRUNC);
if (!writeFile) {
logger.log(FILES, ERROR, "failed to open config file for writing, %s", fqFilename);
logger.log(FILES, ERROR, "Failed to open config file for writing, %s", fqFilename);
return 0;
}

Expand Down

0 comments on commit 527a61a

Please sign in to comment.