Fixed EEPROM tests

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:00 +01:00
parent a26a43ee1d
commit 679c5aef31
+5 -2
View File
@@ -23,7 +23,8 @@
extern const char * eepromFile;
#if !defined(EEPROM) && defined(SDCARD)
#if defined(RTC_BACKUP_RAM)
#include "storage/rtc_backup.h"
namespace Backup {
#define BACKUP
#include "datastructs.h"
@@ -45,7 +46,9 @@ TEST(Storage, BackupAndRestore)
}
#endif
#if defined(EEPROM_RLC)
#if defined(EEPROM) && defined(EEPROM_RLC)
#include "storage/eeprom_rlc.h"
TEST(Eeprom, 100_random_writes)
{
eepromFile = NULL; // in memory