kopia lustrzana https://github.com/sh123/esp32_loraprs
Fix bug with log levels
rodzic
59b94b4be8
commit
1805d55500
|
@ -39,6 +39,8 @@ void Service::setup(const Config &conf)
|
|||
|
||||
// disable logging when USB is used for data transfer
|
||||
if (config_.UsbSerialEnable) {
|
||||
LOG_SET_LEVEL(DebugLogLevel::LVL_NONE);
|
||||
} else {
|
||||
LOG_SET_LEVEL(config_.LogLevel);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue