mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
30dcb1328bf9a5d538e8f87254930c3a76c0d2e3
result of a version request, triggered by writing 'V', is the string "VER...". Sometimes, this was preceeded by a zero byte, in which case hardware echo detection worked, but other times it wasn't, and we stripped the 'V' from "VER...", only to wait forever for one extra byte that wasn't coming. The new approach is to read until we get the "\r\n", then search for "VER", then see if any other 'V's preceed it, in which case we assume we're dealing with hardware echo.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%