Fixed EEPROM tests
This commit is contained in:
@@ -23,7 +23,8 @@
|
|||||||
|
|
||||||
extern const char * eepromFile;
|
extern const char * eepromFile;
|
||||||
|
|
||||||
#if !defined(EEPROM) && defined(SDCARD)
|
#if defined(RTC_BACKUP_RAM)
|
||||||
|
#include "storage/rtc_backup.h"
|
||||||
namespace Backup {
|
namespace Backup {
|
||||||
#define BACKUP
|
#define BACKUP
|
||||||
#include "datastructs.h"
|
#include "datastructs.h"
|
||||||
@@ -45,7 +46,9 @@ TEST(Storage, BackupAndRestore)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(EEPROM_RLC)
|
#if defined(EEPROM) && defined(EEPROM_RLC)
|
||||||
|
#include "storage/eeprom_rlc.h"
|
||||||
|
|
||||||
TEST(Eeprom, 100_random_writes)
|
TEST(Eeprom, 100_random_writes)
|
||||||
{
|
{
|
||||||
eepromFile = NULL; // in memory
|
eepromFile = NULL; // in memory
|
||||||
|
|||||||
Reference in New Issue
Block a user