This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.
Matt D md123 at nycap.rr.comHey, In the hdu.cc file there is a function 'apply_rs_correction'. I am interested in finding out how this works. What is confusing me is that I know it works. But I have been looking at this code and to me it seems to do essentially nothing??? // apply a different kind of correction void hdu::apply_rs_correction(bit_vector& frame) { // pre-processor if statement that is *always false* (0 == false) #if 0 *// so this code is not included in the final compiled program static itpp::Reed_Solomon rs(6, 8, true); const size_t rs_codeword[][6] = { }; const size_t nof_codeword_bits = sizeof(codeword_bits) / sizeof(codeword_bits[0]); // the end of the pre-processor if statement #endif // and that's it for this function? -- so this function is actually empty in the compiled program??? } I am putting comments in the code trying to understand it. What am i missing here? -- Matt D ------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20130714/5cc6e801/attachment.htm>