mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 11:00:35 +08:00
Running cppcheck with every build
This commit is contained in:
@@ -30,7 +30,9 @@ struct CanFrame
|
||||
CanFrame()
|
||||
: id(0)
|
||||
, dlc(0)
|
||||
{ }
|
||||
{
|
||||
std::memset(data, 0, sizeof(data));
|
||||
}
|
||||
|
||||
CanFrame(uint32_t id, const uint8_t* data, unsigned int dlc)
|
||||
: id(id)
|
||||
|
||||
Reference in New Issue
Block a user