Fix bug in the fix16_fft example

This commit is contained in:
PetteriAimonen 2013-02-17 08:12:25 +00:00
parent 6d59de5d60
commit b22e67fbf0
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ static void butterfly(fix16_t *real, fix16_t *imag, unsigned blocksize, unsigned
static uint32_t rbit_32(uint32_t x)
{
#if defined(__GNUC__) && defined(__ARM_ARCH_7M__)
__asm__("rbit %0,%0" :: "r"(x));
__asm__("rbit %0,%0" : "=r"(x) : "0"(x));
return x;
#else
x = (((x & 0xaaaaaaaa) >> 1) | ((x & 0x55555555) << 1));