Dave or Steve:

In my tst_ofdm_demod unittest for stm32, I need to get the number of
symbols per frame.  

ofdm_demod.c sets coded_syms_per_frame from the LDPC constants but I
don't have LDPC included (yet).  I was using a bunch of the OFDM_* 
constants which I switched to using the config settings.  That works.


int coded_syms_per_frame = ((ofdm_bitsperframe/ofdm_config->bps) -
                               (ofdm_nuwbits/ofdm_config->bps) -
                               (ofdm_ntxtbits/ofdm_config->bps));


But it seems awkward, is there a better way to get this?  

Don

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to