mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:04:19 +08:00
astyle src/drivers/gps
This commit is contained in:
committed by
Lorenz Meier
parent
32da3381f7
commit
30587e5669
@@ -303,15 +303,15 @@ GPS::~GPS()
|
||||
}
|
||||
|
||||
if (_sat_info) {
|
||||
delete(_sat_info);
|
||||
delete (_sat_info);
|
||||
}
|
||||
|
||||
if (_dump_to_device) {
|
||||
delete(_dump_to_device);
|
||||
delete (_dump_to_device);
|
||||
}
|
||||
|
||||
if (_dump_from_device) {
|
||||
delete(_dump_from_device);
|
||||
delete (_dump_from_device);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -710,7 +710,7 @@ GPS::task_main()
|
||||
} else {
|
||||
|
||||
if (_helper != nullptr) {
|
||||
delete(_helper);
|
||||
delete (_helper);
|
||||
/* set to zero to ensure parser is not used while not instantiated */
|
||||
_helper = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user