esp32-mjpeg-multiclient-esp.../PlatformIO/esp32-cam-rtos-pio/include/logging.h
Anatoli Arkhipenko ea7a76a216 Code cleanup
2024-09-27 10:00:18 -04:00

14 lines
408 B
C

#pragma once
// ==== includes =================================
#include "references.h"
#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