From 7617606629c06d40d4df0d9d74619bc1628fd9f6 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 3 Mar 2023 13:28:24 +0000 Subject: [PATCH] AP_HAL: GPIO: add arming check --- libraries/AP_HAL/GPIO.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL/GPIO.h b/libraries/AP_HAL/GPIO.h index 1e519e5b7c..5dbd753014 100644 --- a/libraries/AP_HAL/GPIO.h +++ b/libraries/AP_HAL/GPIO.h @@ -113,4 +113,8 @@ public: // optional timer tick virtual void timer_tick(void) {}; + + // Run arming checks + virtual bool arming_checks(size_t buflen, char *buffer) const { return true; } + };