diff --git a/imbe/software_imbe_decoder.cc b/imbe/software_imbe_decoder.cc index 94b3836..f0fb6fb 100644 --- a/imbe/software_imbe_decoder.cc +++ b/imbe/software_imbe_decoder.cc @@ -795,9 +795,7 @@ software_imbe_decoder::decode(uint8_t *buf) correct(buf, u0, u1, u2, u3, u4, u5, u6, u7, E0, ET) ; //replace the sync bit(LSB of u7) with the BOT flag - BOT = 1; - u7 = u7 | BOT; //ECC procedure called above always returns u7 LSB = 0 - BOT = 0; + u7 = u7 | 0x01; //ECC procedure called above always returns u7 LSB = 0 // 'because E0 is 3 max and ET is 15 max, the 2 MSB of the error count byte are // ' free for other data such as a 100 bit/sec serial bit stream to carry info diff --git a/imbe/software_imbe_decoder.h b/imbe/software_imbe_decoder.h index b596e3a..6bb34cf 100644 --- a/imbe/software_imbe_decoder.h +++ b/imbe/software_imbe_decoder.h @@ -56,7 +56,6 @@ private: float w0; float Oldw0; float Luv; //number of unvoiced spectral amplitudes - int BOT; char sym_b[4096]; char RxData[4096];