Odstraneny zbytecny include a uz nepotrebne makro TRACE_ADDWEB.

This commit is contained in:
Pavel Brychta 2024-08-06 08:43:29 +02:00
parent 8b172701d2
commit 4c6627a4bd

View File

@ -21,7 +21,6 @@
*/ */
#pragma once #pragma once
#include <Arduino.h> #include <Arduino.h>
#include <ESPAsyncWebServer.h>
// Vydefinujeme-li promennou TRACE_ALL=1, pak TRACEPLUS bude vypisovat vsechny zpravy nezavisle od povoleni/zakazani // Vydefinujeme-li promennou TRACE_ALL=1, pak TRACEPLUS bude vypisovat vsechny zpravy nezavisle od povoleni/zakazani
@ -70,7 +69,6 @@ extern Trace * mTrace; // Main Trace instance
#define TRACEFUNC(severity, ...) if (mTrace) { mTrace->printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__); } #define TRACEFUNC(severity, ...) if (mTrace) { mTrace->printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__); }
#define TRACEDUMP(severity, prefix, address, size) if (mTrace) { mTrace->dump(severity, prefix, address, size); } #define TRACEDUMP(severity, prefix, address, size) if (mTrace) { mTrace->dump(severity, prefix, address, size); }
#define TRACE_INIT(a) if (mTrace) { mTrace->init(); } #define TRACE_INIT(a) if (mTrace) { mTrace->init(); }
#define TRACE_ADDWEB(srv) if (mTrace) { mTrace->addweb(srv); }
#define TRACE_FORCEUPDATE(a) if (mTrace) { mTrace->forceupdate(); } #define TRACE_FORCEUPDATE(a) if (mTrace) { mTrace->forceupdate(); }
#ifndef TRACE_ALL #ifndef TRACE_ALL