Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Hitrava.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def parse(self) -> HiActivity:
for data_index in [1, 2]: # Parse parameters k (timestamp) and v (step frequency)
data_list.append(line[data_index].split('=')) # Parse values after the '=' character
self.activity.add_stroke_frequency_data(data_list)
elif line[0] == 'tp=rs': # Speed (decimeter/second) format: tp=p-f;k=_;v=_
elif line[0] == 'tp=rs': # Speed (decimeter/second) format: tp=rs;k=_;v=_
for data_index in [1, 2]: # Parse parameters k (timestamp) and v (step frequency)
data_list.append(line[data_index].split('=')) # Parse values after the '=' character
self.activity.add_speed_data(data_list)
Expand Down