#ifndef in *.h + #pragma once (#1639)

This commit is contained in:
Nicolas Liaudat
2022-12-20 06:46:13 +01:00
committed by GitHub
parent c4cd43b3d6
commit fc5fbd648e
37 changed files with 188 additions and 288 deletions

View File

@@ -1,3 +1,8 @@
#pragma once
#ifndef CLASSLOGFILE_H
#define CLASSLOGFILE_H
#include <string>
#include "esp_log.h"
@@ -44,4 +49,6 @@ public:
std::string GetCurrentFileNameData();
};
extern ClassLogFile LogFile;
extern ClassLogFile LogFile;
#endif //CLASSLOGFILE_H