esp32-mjpeg-multiclient-esp.../PlatformIO/esp32-cam-rtos-pio/include/logging.h

15 lines
408 B
C
Raw Normal View History

#pragma once
// ==== includes =================================
#include "references.h"
2024-09-27 16:00:18 +02:00
#define MILLIS_FUNCTION xTaskGetTickCount()
// #define MILLIS_FUNCTION millis()
// ==== prototypes ===============================
void setupLogging();
#ifndef DISABLE_LOGGING
void printTimestampMillis(Print* logOutput);
void printBuffer(const char* aBuf, size_t aSize);
#endif // #ifndef DISABLE_LOGGING