Arduino Filters
master
Filter library for Arduino
src
AH
Debug
Debug.cpp
Go to the documentation of this file.
1
#include "
Debug.hpp
"
2
3
#ifdef DEBUG_OUT
4
#pragma message("Debugging enabled on output "
DEBUG_STR(DEBUG_OUT))
5
6
#ifndef ARDUINO
7
BEGIN_AH_NAMESPACE
8
const
decltype
(std::chrono::high_resolution_clock::now()) start_time =
9
std::chrono::high_resolution_clock::now();
10
END_AH_NAMESPACE
11
#endif
12
13
#endif
14
15
#if defined(ESP32)
16
BEGIN_AH_NAMESPACE
17
std::mutex debugmutex;
18
END_AH_NAMESPACE
19
#elif defined(ARDUINO_ARCH_MBED)
20
BEGIN_AH_NAMESPACE
21
rtos::Mutex debugmutex;
22
END_AH_NAMESPACE
23
#endif
Debug.hpp
END_AH_NAMESPACE
#define END_AH_NAMESPACE
Definition:
NamespaceSettings.hpp:10
BEGIN_AH_NAMESPACE
#define BEGIN_AH_NAMESPACE
Definition:
NamespaceSettings.hpp:9
Generated by
1.9.4