mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 13:50:35 +08:00
TestNetwork<> fix
This commit is contained in:
@@ -243,7 +243,7 @@ struct TestNetwork
|
||||
{
|
||||
for (uavcan::uint8_t i = 0; i < NumNodes; i++)
|
||||
{
|
||||
int ret = nodes[i]->spin(uavcan::MonotonicDuration::fromMSec(1));
|
||||
int ret = nodes[i]->node.spin(uavcan::MonotonicDuration::fromMSec(1));
|
||||
if (ret < 0)
|
||||
{
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user