mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 18:03:35 +08:00
Most enums were replaced with constants, according to MISRA
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
enum { TimerPeriodMs100 = 5 };
|
||||
static const unsigned TimerPeriodMs100 = 5;
|
||||
|
||||
typedef MethodBinder<NodeStatusMonitor*,
|
||||
void (NodeStatusMonitor::*)(const ReceivedDataStructure<protocol::NodeStatus>&)>
|
||||
|
||||
Reference in New Issue
Block a user