Coredump and Duo Auth

This commit is contained in:
iranl
2025-01-21 21:41:43 +01:00
parent 6c3a0f078d
commit 2964f54e96
13 changed files with 356 additions and 52 deletions

View File

@@ -83,7 +83,7 @@ void MqttLogger::sendBuffer()
{
doSerial = true;
}
if (doSerial)
if (doSerial && coredumpPrinted)
{
Serial.write(this->buffer, this->bufferCnt);
Serial.println();

View File

@@ -16,6 +16,8 @@
#define MQTT_MAX_PACKET_SIZE 1024
extern bool coredumpPrinted;
enum MqttLoggerMode {
MqttAndSerialFallback = 0,
SerialOnly = 1,