mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 06:27:34 +08:00
Fix for Logger::LogLevelAboveAll
This commit is contained in:
@@ -40,7 +40,7 @@ class Logger
|
||||
public:
|
||||
typedef ILogSink::LogLevel LogLevel;
|
||||
|
||||
static const LogLevel LevelAboveAll = (protocol::debug::LogLevel::FieldTypes::value::BitLen << 1) - 1;
|
||||
static const LogLevel LevelAboveAll = (1 << protocol::debug::LogLevel::FieldTypes::value::BitLen) - 1;
|
||||
|
||||
private:
|
||||
enum { DefaultTxTimeoutMs = 2000 };
|
||||
|
||||
Reference in New Issue
Block a user