mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 15:47:34 +08:00
Modify the way to clear Data
This commit is contained in:
@@ -476,7 +476,7 @@ bool UavcanGnssBridge::injectData(const uint8_t *const data, const size_t data_l
|
||||
}
|
||||
|
||||
result = _pub_rtcm.broadcast(msg) >= 0;
|
||||
msg.data = {};
|
||||
msg.data.clear();
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user