mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
Disable left over RTC_STRUCT_DEBUG flag
This commit is contained in:
@@ -135,7 +135,9 @@ bool RTC_cache_handler_struct::write(uint8_t *data, unsigned int size) {
|
||||
bool RTC_cache_handler_struct::flush() {
|
||||
if (prepareFileForWrite()) {
|
||||
if (RTC_cache.writePos > 0) {
|
||||
#ifdef RTC_STRUCT_DEBUG
|
||||
size_t filesize = fw.size();
|
||||
#endif
|
||||
int bytesWriten = fw.write(&RTC_cache_data[0], RTC_cache.writePos);
|
||||
|
||||
delay(0);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#define CACHE_STORAGE_BEHIND_SPIFFS 3
|
||||
|
||||
|
||||
#define RTC_STRUCT_DEBUG
|
||||
//#define RTC_STRUCT_DEBUG
|
||||
|
||||
/********************************************************************************************\
|
||||
RTC located cache
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "../DataStructs/RTCCacheStruct.h"
|
||||
#include "../DataStructs/RTC_cache_handler_struct.h"
|
||||
#include "../DataStructs/TimingStats.h"
|
||||
#include "../ESPEasyCore/ESPEasy_Log.h"
|
||||
#include "../Globals/Plugins.h"
|
||||
#include "../Globals/RuntimeData.h"
|
||||
#include "../Helpers/CRC_functions.h"
|
||||
|
||||
Reference in New Issue
Block a user