Zverejneni default SYSVAR_FILE

This commit is contained in:
Pavel Brychta 2024-11-12 11:17:29 +01:00
parent 2ce7cbf772
commit a42ee82a3a
2 changed files with 4 additions and 4 deletions

View File

@ -14,10 +14,6 @@
# define DEBUG_SYSVARS 0
#endif
#if not defined(SYSVAR_FILE)
#define SYSVAR_FILE "/cfg.json"
#endif
template <typename T>
T svGetV(const String & name, const T deflt)
{

View File

@ -7,6 +7,10 @@
#include <Arduino.h>
#if not defined(SYSVAR_FILE)
#define SYSVAR_FILE "/cfg.json"
#endif
enum {
SV_OK = 0,
SV_UNSPECIFIED_ERROR = -1,