forked from Archive/PX4-Autopilot
Modify the way to clear Data
This commit is contained in:
parent
063bb75891
commit
9f9b01504d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue