mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 00:43:35 +08:00
More cleanup
This commit is contained in:
@@ -341,7 +341,8 @@ GPS::task_main()
|
||||
if (_mode_changed) {
|
||||
if (_Helper != nullptr) {
|
||||
delete(_Helper);
|
||||
_Helper = nullptr; // XXX is this needed?
|
||||
/* set to zero to ensure parser is not used while not instantiated */
|
||||
_Helper = nullptr;
|
||||
}
|
||||
|
||||
switch (_mode) {
|
||||
|
||||
Reference in New Issue
Block a user