mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
reverted loging change
This commit is contained in:
parent
e6b0921fdb
commit
c5d32983aa
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ static bool logHasOutput(void)
|
|||
|
||||
static bool logIsEnabled(logTopic_e topic, unsigned level)
|
||||
{
|
||||
return logHasOutput() && (level <= logConfig()->level && (logConfig()->topics & (1 << topic)));
|
||||
return logHasOutput() && (level <= logConfig()->level || (logConfig()->topics & (1 << topic)));
|
||||
}
|
||||
|
||||
void _logf(logTopic_e topic, unsigned level, const char *fmt, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue