mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 07:23:34 +08:00
STM32 warning fixes
This commit is contained in:
@@ -148,7 +148,7 @@ public:
|
||||
kind_(kind),
|
||||
id_(id)
|
||||
{
|
||||
UAVCAN_ASSERT(kind < NumDataTypeKinds);
|
||||
UAVCAN_ASSERT((kind == DataTypeKindMessage) || (kind == DataTypeKindService));
|
||||
UAVCAN_ASSERT(name);
|
||||
UAVCAN_ASSERT(std::strlen(name) <= MaxFullNameLen);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user