mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 11:16:45 +00:00
Fix telnet output
This commit is contained in:
parent
15050fa26a
commit
c7d3af927e
@ -44,9 +44,9 @@ void Logging::begin(int level, bool showLevel)
|
|||||||
void Logging::registerOutput(uint8_t slot, Print * logOutput, int level, bool showLevel)
|
void Logging::registerOutput(uint8_t slot, Print * logOutput, int level, bool showLevel)
|
||||||
{
|
{
|
||||||
#ifndef DISABLE_LOGGING
|
#ifndef DISABLE_LOGGING
|
||||||
setLevel(0, level);
|
|
||||||
setShowLevel(0, showLevel);
|
|
||||||
if(slot >= 3) return;
|
if(slot >= 3) return;
|
||||||
|
setLevel(slot, level);
|
||||||
|
setShowLevel(slot, showLevel);
|
||||||
_logOutput[slot] = logOutput;
|
_logOutput[slot] = logOutput;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user