mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 21:41:36 +08:00
Merge branch 'cmsis_fix' of github.com:PX4/Firmware
This commit is contained in:
@@ -5193,7 +5193,7 @@ void arm_rfft_fast_f32(
|
|||||||
*pIa = Ialpha;
|
*pIa = Ialpha;
|
||||||
|
|
||||||
/* Calculating pIb from Ialpha and Ibeta by equation pIb = -(1/2) * Ialpha + (sqrt(3)/2) * Ibeta */
|
/* Calculating pIb from Ialpha and Ibeta by equation pIb = -(1/2) * Ialpha + (sqrt(3)/2) * Ibeta */
|
||||||
*pIb = -0.5 * Ialpha + (float32_t) 0.8660254039 *Ibeta;
|
*pIb = (float32_t)-0.5 * Ialpha + (float32_t) 0.8660254039 *Ibeta;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user