Commit 40fd1b9a authored by Thomas Schlichter's avatar Thomas Schlichter

add error message if unsupported FFT size is provided to PHY_ofdm_mod()

parent 922361b1
...@@ -177,17 +177,17 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input ...@@ -177,17 +177,17 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
idftsize= IDFT_6144; idftsize= IDFT_6144;
break; break;
case 12288: case 12288:
idftsize= IDFT_12288; idftsize= IDFT_12288;
break; break;
case 24576: case 24576:
idftsize= IDFT_24576; idftsize= IDFT_24576;
break; break;
default: default:
idftsize = IDFT_512; printf("unsupported ofdm symbol size %d\n", fftsize);
break; assert(0);
} }
#ifdef DEBUG_OFDM_MOD #ifdef DEBUG_OFDM_MOD
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment