From 4be59e295fa3c94d2e0f9c6ba97e0f512f922273 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 3 Feb 2020 21:37:51 +0100 Subject: [PATCH] whitespace --- armsrc/spiffs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/armsrc/spiffs.c b/armsrc/spiffs.c index 87321148d..81172476f 100644 --- a/armsrc/spiffs.c +++ b/armsrc/spiffs.c @@ -401,21 +401,21 @@ int rdv40_spiffs_lazy_mount_rollback(int changed) { // TODO : forbid writing to a filename which already exists as lnk ! // TODO : forbid writing to a filename.lnk which already exists without lnk ! int rdv40_spiffs_write(char *filename, uint8_t *src, uint32_t size, RDV40SpiFFSSafetyLevel level) { - RDV40_SPIFFS_SAFE_FUNCTION( // - write_to_spiffs((char *)filename, (uint8_t *)src, size); // + RDV40_SPIFFS_SAFE_FUNCTION( + write_to_spiffs(filename, src, size); ) } int rdv40_spiffs_append(char *filename, uint8_t *src, uint32_t size, RDV40SpiFFSSafetyLevel level) { - RDV40_SPIFFS_SAFE_FUNCTION( // - append_to_spiffs((char *)filename, (uint8_t *)src, size); // + RDV40_SPIFFS_SAFE_FUNCTION( + append_to_spiffs(filename, src, size); ) } // todo integrate reading symlinks transparently int rdv40_spiffs_read(char *filename, uint8_t *dst, uint32_t size, RDV40SpiFFSSafetyLevel level) { - RDV40_SPIFFS_SAFE_FUNCTION( // - read_from_spiffs((char *)filename, (uint8_t *)dst, size); // + RDV40_SPIFFS_SAFE_FUNCTION( + read_from_spiffs(filename, dst, size); ) }