Coredump and Duo Auth
This commit is contained in:
@@ -83,7 +83,7 @@ void MqttLogger::sendBuffer()
|
||||
{
|
||||
doSerial = true;
|
||||
}
|
||||
if (doSerial)
|
||||
if (doSerial && coredumpPrinted)
|
||||
{
|
||||
Serial.write(this->buffer, this->bufferCnt);
|
||||
Serial.println();
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#define MQTT_MAX_PACKET_SIZE 1024
|
||||
|
||||
extern bool coredumpPrinted;
|
||||
|
||||
enum MqttLoggerMode {
|
||||
MqttAndSerialFallback = 0,
|
||||
SerialOnly = 1,
|
||||
|
||||
Reference in New Issue
Block a user