suikan4github / murasaki

STM32 HAL class library
MIT License
17 stars 3 forks source link

Saturation on the DuplexAudio transmitting. #114

Closed suikan4github closed 4 years ago

suikan4github commented 4 years ago

Describe the bug While the limiting to the [-1.0, 1.0) is a responsibility of the programmer, there is a possibility of the overflow at the conversion from float to int.

Expected behavior We need limiting by MAXINT.

suikan4github commented 4 years ago

Merged to develop. Ready to release.