mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 16:23:34 +08:00
More warning fixes in the STM32 drvier, STM32 test project and the library core
This commit is contained in:
@@ -141,7 +141,7 @@ bool Frame::compile(CanFrame& out_can_frame) const
|
||||
{
|
||||
case TransferTypeMessageBroadcast:
|
||||
{
|
||||
out_can_frame.dlc = payload_len_;
|
||||
out_can_frame.dlc = uint8_t(payload_len_);
|
||||
(void)copy(payload_, payload_ + payload_len_, out_can_frame.data);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user