From b92473111cfd78ff488f103181c5eae05d32e4a2 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Tue, 3 Sep 2019 13:17:35 -0300 Subject: [PATCH] AP_LeakDetector: Mark Leak pins RebootRequired --- libraries/AP_LeakDetector/AP_LeakDetector.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_LeakDetector/AP_LeakDetector.cpp b/libraries/AP_LeakDetector/AP_LeakDetector.cpp index 55fa8a12db..985eebc598 100644 --- a/libraries/AP_LeakDetector/AP_LeakDetector.cpp +++ b/libraries/AP_LeakDetector/AP_LeakDetector.cpp @@ -9,6 +9,7 @@ const AP_Param::GroupInfo AP_LeakDetector::var_info[] = { // @Description: Pin that the leak detector is connected to // @Values: -1:Disabled,50:Pixhawk Aux1,51:Pixhawk Aux2,52:Pixhawk Aux3,53:Pixhawk Aux4,54:Pixhawk Aux5,55:Pixhawk Aux6,13:Pixhawk 3.3ADC1,14:Pixhawk 3.3ADC2,15:Pixhawk 6.6ADC // @User: Standard + // @RebootRequired: True AP_GROUPINFO("1_PIN", 1, AP_LeakDetector, _pin[0], -1), // @Param: 1_LOGIC @@ -24,6 +25,7 @@ const AP_Param::GroupInfo AP_LeakDetector::var_info[] = { // @Description: Pin that the leak detector is connected to // @Values: -1:Disabled,50:Pixhawk Aux1,51:Pixhawk Aux2,52:Pixhawk Aux3,53:Pixhawk Aux4,54:Pixhawk Aux5,55:Pixhawk Aux6,13:Pixhawk 3.3ADC1,14:Pixhawk 3.3ADC2,15:Pixhawk 6.6ADC // @User: Standard + // @RebootRequired: True AP_GROUPINFO("2_PIN", 3, AP_LeakDetector, _pin[1], -1), // @Param: 2_LOGIC @@ -40,6 +42,7 @@ const AP_Param::GroupInfo AP_LeakDetector::var_info[] = { // @Description: Pin that the leak detector is connected to // @Values: -1:Disabled,50:Pixhawk Aux1,51:Pixhawk Aux2,52:Pixhawk Aux3,53:Pixhawk Aux4,54:Pixhawk Aux5,55:Pixhawk Aux6,13:Pixhawk 3.3ADC1,14:Pixhawk 3.3ADC2,15:Pixhawk 6.6ADC // @User: Standard + // @RebootRequired: True AP_GROUPINFO("3_PIN", 5, AP_LeakDetector, _pin[2], -1), // @Param: 3_LOGIC