mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Update debug for STM32
This commit is contained in:
parent
f9d14e7fba
commit
cd91930104
@ -285,19 +285,15 @@ class Logging {
|
||||
if(_logOutput[i] == NULL || level>_level[i]) continue;
|
||||
|
||||
if(_prefix != NULL) {
|
||||
// _prefix(level, _logOutput[i]);
|
||||
_prefix(level, _logOutput[i]);
|
||||
}
|
||||
|
||||
va_list args;
|
||||
va_start(args, msg);
|
||||
#ifdef STM32_CORE_VERSION_MAJOR
|
||||
print(_logOutput[i], msg, args);
|
||||
Serial.println();
|
||||
#else
|
||||
print(_logOutput[i], msg, args);
|
||||
#endif
|
||||
print(_logOutput[i], msg, args);
|
||||
|
||||
if(_suffix != NULL) {
|
||||
// _suffix(level, _logOutput[i]);
|
||||
_suffix(level, _logOutput[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user