Quick fix MHZ19 watchdog reset

Quick fix MHZ19 watchdog reset (#6266)
This commit is contained in:
Theo Arends 2019-08-21 09:44:34 +02:00
parent 86b6dc7ecb
commit c2474f8d5d
1 changed files with 3 additions and 2 deletions

View File

@ -1545,20 +1545,21 @@ void AddLog_Debug(PGM_P formatP, ...)
void AddLogBuffer(uint32_t loglevel, uint8_t *buffer, uint32_t count)
{
/*
snprintf_P(log_data, sizeof(log_data), PSTR("DMP:"));
for (uint32_t i = 0; i < count; i++) {
snprintf_P(log_data, sizeof(log_data), PSTR("%s %02X"), log_data, *(buffer++));
}
AddLog(loglevel);
*/
/*
strcpy_P(log_data, PSTR("DMP: "));
ToHex_P(buffer, count, log_data + strlen(log_data), sizeof(log_data) - strlen(log_data), ' ');
AddLog(loglevel);
*/
/*
char hex_char[count * 3];
AddLog_P2(loglevel, PSTR("DMP: %s"), ToHex_P(buffer, count, hex_char, sizeof(hex_char), ' '));
*/
}
void AddLogSerial(uint32_t loglevel)