From 7b99bfa3d60633014be11b118c9d8ad5436d38d0 Mon Sep 17 00:00:00 2001 From: ANTodorov Date: Thu, 21 Nov 2024 12:02:20 +0200 Subject: [PATCH] fix reported file/link names when `mem spiffs wipe` --- CHANGELOG.md | 1 + armsrc/spiffs.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f83683b5fc..b82b28f3f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/armsrc/spiffs.c b/armsrc/spiffs.c index 9c5f96042f..64048c7839 100644 --- a/armsrc/spiffs.c +++ b/armsrc/spiffs.c @@ -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);