1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Blackbox code size savings by factoring common loops out into fuctions

This commit is contained in:
Nicholas Sherlock 2015-07-31 15:23:56 +09:00
parent 53860e461c
commit 0c4604eeef
5 changed files with 63 additions and 43 deletions

View file

@ -94,4 +94,6 @@ float cos_approx(float x);
#else
#define sin_approx(x) sinf(x)
#define cos_approx(x) cosf(x)
#endif
#endif
void arraySubInt32(int32_t *dest, int32_t *array1, int32_t *array2, int count);