1
0
Fork 0
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:
Roman Lut 2022-06-26 02:17:28 +03:00
parent e6b0921fdb
commit c5d32983aa

View file

@ -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, ...)