AP_HAL_ChibiOS: add vector addition function

This commit is contained in:
Andy Piper 2022-03-06 13:50:21 +01:00 committed by Andrew Tridgell
parent f57ac4787d
commit 884454cd88
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ protected:
arm_mean_f32(vin, len, &mean_value);
return mean_value;
}
void vector_add_float(const float* vin1, const float* vin2, float* vout, uint16_t len) const override {
arm_add_f32(vin1, vin2, vout, len);
}
private:
// following are the six independent steps for calculating an FFT