From 6690f3cccbf6bb4133c6e10037e4f7b5ffa720ec Mon Sep 17 00:00:00 2001 From: elmo128 <60213508+elmo128@users.noreply.github.com> Date: Sat, 16 Sep 2023 01:42:40 +0200 Subject: [PATCH] update --- src/drivers/storage/SDCard.h | 2 +- src/drivers/storage/nvMemory.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/drivers/storage/SDCard.h b/src/drivers/storage/SDCard.h index 7e02ba2..1bcdf65 100644 --- a/src/drivers/storage/SDCard.h +++ b/src/drivers/storage/SDCard.h @@ -33,8 +33,8 @@ private: #if defined (BUILD_SDMMC_1) || defined(BUILD_SDMMC_4) fs::SDMMCFS* iSD_; #elif defined (BUILD_SDSPI) +#error You chose to run the SD card in SPI mode. This is not implemented yet. fs::SDFS* iSD_; -#error You chose to run the sd card in SPI mode. This is not implemented yet. #endif }; diff --git a/src/drivers/storage/nvMemory.h b/src/drivers/storage/nvMemory.h index d53713c..8d1e117 100644 --- a/src/drivers/storage/nvMemory.h +++ b/src/drivers/storage/nvMemory.h @@ -152,7 +152,6 @@ bool nvMemory::init() return Initialized_; }; - #else #error We need some kind of permanent storage implementation!