fix reported file/link names when mem spiffs wipe

This commit is contained in:
ANTodorov 2024-11-21 12:02:20 +02:00
commit 7b99bfa3d6
No known key found for this signature in database
GPG key ID: 318CC11D7ED4016B
2 changed files with 3 additions and 2 deletions

View file

@ -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... 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] ## [unreleased][unreleased]
- fix reported file/link names when `mem spiffs wipe` (ANTodorov)
- Updated atrs list (@iceman1001) - Updated atrs list (@iceman1001)
- Added support for a new KDF (@iceman1001) - Added support for a new KDF (@iceman1001)
- Added Inner range aid and mad entries (@iceman1001) - Added Inner range aid and mad entries (@iceman1001)

View file

@ -683,10 +683,10 @@ void rdv40_spiffs_safe_wipe(void) {
read_from_spiffs((char *)pe->name, (uint8_t *)linkdest, SPIFFS_OBJ_NAME_LEN); read_from_spiffs((char *)pe->name, (uint8_t *)linkdest, SPIFFS_OBJ_NAME_LEN);
remove_from_spiffs(linkdest); remove_from_spiffs(linkdest);
Dbprintf(".lnk removed %s", pe->name); Dbprintf("removed %s", linkdest);
remove_from_spiffs((char *)pe->name); remove_from_spiffs((char *)pe->name);
Dbprintf("removed %s", linkdest); Dbprintf(".lnk removed %s", pe->name);
} else { } else {
remove_from_spiffs((char *)pe->name); remove_from_spiffs((char *)pe->name);