SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
debug_output.cpp
Go to the documentation of this file.
1#include "debug_output.h"
2
3#ifdef REMOTE_DEBUG
4#include <RemoteDebug.h>
5#else
7#endif
8
9#include "sensesp_app.h"
10
11namespace sensesp {
12
13#ifndef DEBUG_DISABLED
15#endif
16
18#ifndef DEBUG_DISABLED
20 Debug.setResetCmdEnabled(true);
21// serial port debugging happens synchronously
22#ifdef REMOTE_DEBUG
23 // serial port debugging happens synchronously
24 ReactESP::app->onRepeat(1, []() { Debug.handle(); });
25#endif
26#endif
27}
28
29} // namespace sensesp
virtual void start() override
static String get_hostname()
Get the current hostname.
DEBUG_CLASS Debug
#define DEBUG_CLASS
Definition sensesp.h:14