Fix compilation in DEBUG mode

This commit is contained in:
hsaturn
2021-04-10 16:51:35 +02:00
parent d96143f185
commit afc9370e3e
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
#pragma once
#include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#include <vector>
#include <set>
@@ -7,6 +6,8 @@
#include "StringIndexer.h"
#include <MqttStreaming.h>
// #define TINY_MQTT_DEBUG
#ifdef TINY_MQTT_DEBUG
#define debug(what) { Serial << __LINE__ << ' ' << what << endl; delay(100); }
#else