Closed zakaria16 closed 4 years ago
the range of fm frequency 875 to 1080 requires 16 bit not 8bit https://github.com/erdemarslan/GSMSim/blob/7a0168f50e4de0f197527aba35748dc5b9958c00/GSMSim.h#L210
Solution is by changing uint8_t to uint16_t
again parameter freq is not used in setting the frequency https://github.com/erdemarslan/GSMSim/blob/7a0168f50e4de0f197527aba35748dc5b9958c00/GSMSim.cpp#L1136 https://github.com/erdemarslan/GSMSim/blob/7a0168f50e4de0f197527aba35748dc5b9958c00/GSMSim.cpp#L1072
the range of fm frequency 875 to 1080 requires 16 bit not 8bit https://github.com/erdemarslan/GSMSim/blob/7a0168f50e4de0f197527aba35748dc5b9958c00/GSMSim.h#L210
Solution is by changing uint8_t to uint16_t
again parameter freq is not used in setting the frequency https://github.com/erdemarslan/GSMSim/blob/7a0168f50e4de0f197527aba35748dc5b9958c00/GSMSim.cpp#L1136 https://github.com/erdemarslan/GSMSim/blob/7a0168f50e4de0f197527aba35748dc5b9958c00/GSMSim.cpp#L1072