From ac8a94e655220e17a8742735aec7b10e0ac19fbb Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Wed, 31 Aug 2022 15:25:01 +0100 Subject: [PATCH] AP_HAL: support is_busy() on WSPI device --- libraries/AP_HAL/WSPIDevice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL/WSPIDevice.h b/libraries/AP_HAL/WSPIDevice.h index 682adcd002..08c93f4bfe 100644 --- a/libraries/AP_HAL/WSPIDevice.h +++ b/libraries/AP_HAL/WSPIDevice.h @@ -146,6 +146,8 @@ public: // Set command header for upcomming transfer call(s) virtual void set_cmd_header(const CommandHeader& cmd_hdr) override = 0; + virtual bool is_busy() = 0; + virtual AP_HAL::Semaphore* get_semaphore() override = 0; protected: