mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 19:01:38 +08:00
Use FileCRC typedef
This commit is contained in:
@@ -43,7 +43,7 @@ protected:
|
|||||||
virtual int16_t getInfo(const Path& path, uint64_t& out_crc64, uint32_t& out_size, EntryType& out_type)
|
virtual int16_t getInfo(const Path& path, uint64_t& out_crc64, uint32_t& out_size, EntryType& out_type)
|
||||||
{
|
{
|
||||||
int rv = uavcan::protocol::file::Error::INVALID_VALUE;
|
int rv = uavcan::protocol::file::Error::INVALID_VALUE;
|
||||||
uavcan::DataTypeSignatureCRC crc;
|
FileCRC crc;
|
||||||
if (path.size() > 0)
|
if (path.size() > 0)
|
||||||
{
|
{
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|||||||
Reference in New Issue
Block a user