Commit Graph

11 Commits

Author SHA1 Message Date
Patrick José Pereira 4f81aa82e2 AP_LeakDetector: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Andrew Tridgell c8aaceb6ac AP_LeakDetector: remove warning message on all non-sub builds
pointless pragma
2021-01-21 13:09:21 +11:00
Patrick José Pereira 175d55a0aa AP_LeakDetector: Add navigator support
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-12 09:53:03 -07:00
Patrick José Pereira 4c7af1d99f AP_LeakDetector: Add subtype check and warning message
Add warning if board does not support leak detector sensors

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-12 09:53:03 -07:00
Patrick José Pereira e4f8d47423 AP_LeakDetector: AP_LeakDetector_Digital: Improve status logic
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-05 16:39:03 +01:00
Patrick José Pereira 57373180d1 AP_LeakDetector: Remove not used LeakDetector_Type enum
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-01 16:31:13 +10:00
Willian Galvani b92473111c AP_LeakDetector: Mark Leak pins RebootRequired 2019-09-09 09:53:28 -07:00
Peter Barker 9dc4e17564 AP_LeakDetector: add missing override keywords 2019-05-15 21:05:20 +10:00
Andrew Tridgell 5f4680bf2c AP_LeakDetector: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Lucas De Marchi 6aaa00d915 AP_LeakDetector: add static create method 2017-09-26 03:01:21 +01:00
Jacob Walser 9c8fca02d9 AP_LeakDetector: New library and analog/digital sensor drivers 2017-02-21 11:26:14 +11:00