Skip to content

Commit

Permalink
fix reported file/link names when mem spiffs wipe
Browse files Browse the repository at this point in the history
  • Loading branch information
ANTodorov committed Nov 21, 2024
1 parent 9f4a028 commit 7b99bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...

## [unreleased][unreleased]
- fix reported file/link names when `mem spiffs wipe` (ANTodorov)
- Updated atrs list (@iceman1001)
- Added support for a new KDF (@iceman1001)
- Added Inner range aid and mad entries (@iceman1001)
Expand Down
4 changes: 2 additions & 2 deletions armsrc/spiffs.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,10 +683,10 @@ void rdv40_spiffs_safe_wipe(void) {
read_from_spiffs((char *)pe->name, (uint8_t *)linkdest, SPIFFS_OBJ_NAME_LEN);

remove_from_spiffs(linkdest);
Dbprintf(".lnk removed %s", pe->name);
Dbprintf("removed %s", linkdest);

remove_from_spiffs((char *)pe->name);
Dbprintf("removed %s", linkdest);
Dbprintf(".lnk removed %s", pe->name);

} else {
remove_from_spiffs((char *)pe->name);
Expand Down

0 comments on commit 7b99bfa

Please sign in to comment.