mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 06:43:33 +08:00
Extra warnings for the debug build: -Wfloat-equal -Wconversion. The code was fixed accordingly. No broken tests.
This commit is contained in:
@@ -34,7 +34,7 @@ struct UAVCAN_EXPORT CanFrame
|
||||
: id(0)
|
||||
, dlc(0)
|
||||
{
|
||||
fill(data, data + MaxDataLen, 0);
|
||||
fill(data, data + MaxDataLen, uint8_t(0));
|
||||
}
|
||||
|
||||
CanFrame(uint32_t can_id, const uint8_t* can_data, uint8_t data_len)
|
||||
|
||||
Reference in New Issue
Block a user