implement ScreenSaver in simulator

set ruth to stub only, because of cross compile error

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-06-20 10:48:43 +02:00
parent d3dd96c93a
commit 1a912d31c4
11 changed files with 63 additions and 40 deletions

View File

@@ -1,5 +1,25 @@
#include "persistence.h"
#include "stddef.h"
void *persistence_init(const char *namespace_name)
{
return NULL;
}
void persistence_save(persistence_value_t value_type, const char *key, const void *value)
{
}
void *persistence_load(persistence_value_t value_type, const char *key, void *out)
{
return NULL;
}
void persistence_deinit()
{
}
/*
#include "esp_err.h"
#include "esp_log.h"
#include "esp_mac.h"
@@ -114,3 +134,4 @@ void persistence_deinit()
nvs_close(persistence_handle);
}
*/