Fix import of HRV from Fit files where single records occur (#3323)

* FitRideFile: handle single values in decodeHRV()
Currently only records of type ListValue are handled, but single
RR-intervals can also come as type SingleValue. Before such records
were silently ignored.
* FitRideFile: Unify indentation of decodeHRV()
The indentation before was a mix of tabs and spaces, which made the code
quite a challenge to read. This unifies to use 4 spaces at least
throughout the function.
* Added test file
Fixes #3297
This commit is contained in:
Erik Botö
2020-01-29 00:19:53 +01:00
committed by GitHub
parent 6e5fb42171
commit 2c0eb835d4
2 changed files with 32 additions and 23 deletions

Binary file not shown.