Update debug for STM32

This commit is contained in:
fvanroie 2020-04-30 17:31:07 +02:00
parent f9d14e7fba
commit cd91930104

View File

@ -285,19 +285,15 @@ class Logging {
if(_logOutput[i] == NULL || level>_level[i]) continue; if(_logOutput[i] == NULL || level>_level[i]) continue;
if(_prefix != NULL) { if(_prefix != NULL) {
// _prefix(level, _logOutput[i]); _prefix(level, _logOutput[i]);
} }
va_list args; va_list args;
va_start(args, msg); va_start(args, msg);
#ifdef STM32_CORE_VERSION_MAJOR print(_logOutput[i], msg, args);
print(_logOutput[i], msg, args);
Serial.println();
#else
print(_logOutput[i], msg, args);
#endif
if(_suffix != NULL) { if(_suffix != NULL) {
// _suffix(level, _logOutput[i]); _suffix(level, _logOutput[i]);
} }
} }