This fixes the bugs where UART did not work beyond low baud rates. With these small changes, I was able to pull 2-3 MBd, which is at the limit for FTDI, and near the limit for the STM32F405. Tested with both the uart example and ROSflight serial.
3 MBd is a bit touchy, though.
This fixes the bugs where UART did not work beyond low baud rates. With these small changes, I was able to pull 2-3 MBd, which is at the limit for FTDI, and near the limit for the STM32F405. Tested with both the uart example and ROSflight serial. 3 MBd is a bit touchy, though.