ArduSub: use static method to construct AP_LeakDetector

This commit is contained in:
Lucas De Marchi 2017-08-23 08:00:33 -07:00 committed by Francisco Ferreira
parent 6aaa00d915
commit faf2c8fb36

View File

@ -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();