Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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
8const decltype(std::chrono::high_resolution_clock::now()) start_time =
9 std::chrono::high_resolution_clock::now();
11#endif
12
13#endif
14
15#if defined(ESP32)
17std::mutex debugmutex;
19#elif defined(ARDUINO_ARCH_MBED)
21rtos::Mutex debugmutex;
23#endif
#define END_AH_NAMESPACE
#define BEGIN_AH_NAMESPACE