mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:23:34 +08:00
Most enums were replaced with constants, according to MISRA
This commit is contained in:
@@ -95,11 +95,8 @@ struct UAVCAN_EXPORT CanSelectMasks
|
||||
{ }
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
CanIOFlagLoopback = 1 ///< Send the frame back to RX with true TX timestamps
|
||||
};
|
||||
typedef uint16_t CanIOFlags;
|
||||
static const CanIOFlags CanIOFlagLoopback = 1; ///< Send the frame back to RX with true TX timestamps
|
||||
|
||||
/**
|
||||
* Single non-blocking CAN interface.
|
||||
|
||||
Reference in New Issue
Block a user