mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 18:23:34 +08:00
Standard data type renamed
This commit is contained in:
@@ -10,4 +10,4 @@ uint64 transfers_rx
|
||||
uint64 transfer_errors
|
||||
|
||||
# CAN bus statistics, for each interface independently
|
||||
CanIfaceStats[<=3] can_iface_stats
|
||||
CANIfaceStats[<=3] can_iface_stats
|
||||
|
||||
@@ -22,7 +22,7 @@ void TransportStatsProvider::handleGetTransportStats(const protocol::GetTranspor
|
||||
for (int i = 0; i < canio.getNumIfaces(); i++)
|
||||
{
|
||||
const CanIfacePerfCounters can_perf = canio.getIfacePerfCounters(i);
|
||||
protocol::CanIfaceStats stats;
|
||||
protocol::CANIfaceStats stats;
|
||||
stats.errors = can_perf.errors;
|
||||
stats.frames_tx = can_perf.frames_tx;
|
||||
stats.frames_rx = can_perf.frames_rx;
|
||||
|
||||
Reference in New Issue
Block a user