ArduSub: use static method to construct AP_LeakDetector
This commit is contained in:
parent
6aaa00d915
commit
faf2c8fb36
@ -163,7 +163,7 @@ private:
|
||||
|
||||
AP_GPS gps = AP_GPS::create();
|
||||
|
||||
AP_LeakDetector leak_detector;
|
||||
AP_LeakDetector leak_detector = AP_LeakDetector::create();
|
||||
|
||||
TSYS01 celsius;
|
||||
AP_Baro barometer = AP_Baro::create();
|
||||
|
Loading…
Reference in New Issue
Block a user