From 02e5a7f4637f01e9956a2316b016f79f76354f72 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sun, 6 Mar 2022 13:53:23 +0100 Subject: [PATCH] AP_HAL_Empty: add placeholder vector addition --- libraries/AP_HAL_Empty/DSP.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_Empty/DSP.h b/libraries/AP_HAL_Empty/DSP.h index 0dc5b62e3e..d546b0acdb 100644 --- a/libraries/AP_HAL_Empty/DSP.h +++ b/libraries/AP_HAL_Empty/DSP.h @@ -28,5 +28,6 @@ protected: virtual void vector_max_float(const float* vin, uint16_t len, float* maxValue, uint16_t* maxIndex) const override {} virtual void vector_scale_float(const float* vin, float scale, float* vout, uint16_t len) const override {} virtual float vector_mean_float(const float* vin, uint16_t len) const override { return 0.0f; }; + virtual void vector_add_float(const float* vin1, const float* vin2, float* vout, uint16_t len) const override {}; #endif // HAL_WITH_DSP };