mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 18:13:35 +08:00
IncomingTransfer implements ITransferBuffer, which is necessary for message codec
This commit is contained in:
@@ -9,6 +9,14 @@
|
||||
|
||||
namespace uavcan
|
||||
{
|
||||
/*
|
||||
* IncomingTransfer
|
||||
*/
|
||||
int IncomingTransfer::write(unsigned int, const uint8_t*, unsigned int)
|
||||
{
|
||||
assert(0); // Incoming transfer container is read-only
|
||||
return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
* SingleFrameIncomingTransfer
|
||||
|
||||
Reference in New Issue
Block a user