mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-07 08:47:02 +01:00
get rid of board module, replace with system calls for hostname, board
and password. move boot (quirks) handlers to system as well
espurna::build { ... } namespace for our app const values
32 lines
476 B
C++
32 lines
476 B
C++
/*
|
|
|
|
DEBUG MODULE
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
class PrintRaw;
|
|
class PrintHex;
|
|
|
|
enum class DebugLogMode : int {
|
|
Disabled = 0,
|
|
Enabled = 1,
|
|
SkipBoot = 2
|
|
};
|
|
|
|
bool debugLogBuffer();
|
|
|
|
void debugWebSetup();
|
|
void debugConfigure();
|
|
void debugConfigureBoot();
|
|
void debugShowBanner();
|
|
void debugSetup();
|
|
|
|
void debugSendRaw(const char* line, bool timestamp = false);
|
|
void debugSendBytes(const uint8_t* bytes, size_t size);
|
|
|
|
void debugSend(const char* format, ...);
|